Having an issue with 'toGranges', which doesn't seem to like the TxDb objects I've passed to it. I've tried both human and mouse TxDb objects to make sure it wasn't an issue with the TxDb object itself (both commands below), just showing the error log for the human command (error logs were identical)
> annoData <- toGRanges(TxDb.Hsapiens.UCSC.hg38.knownGene, feature="gene")
348 genes were dropped because they have exons located on both strands of the same reference
sequence or on more than one reference sequence, so cannot be represented by a single genomic
range.
Use 'single.strand.genes.only=FALSE' to get all the genes in a GRangesList object, or use
suppressMessages() to suppress this message.
Error in validObject(.Object) :
invalid class "CompressedGRangesList" object:
improper partitioning
In addition: Warning message:
In normarg_mcols(value, class(x), length(x)) :
You supplied a metadata column of length 197382 to set on an object of length 247541. However
please note that the latter is not a multiple of the former.
Hey,
Having an issue with 'toGranges', which doesn't seem to like the TxDb objects I've passed to it. I've tried both human and mouse TxDb objects to make sure it wasn't an issue with the TxDb object itself (both commands below), just showing the error log for the human command (error logs were identical)