Skip to content
Prev 4734 / 21307 Next

[Bioc-devel] isActiveSeq deprecated

Note that currently it's kind of inconsistent anyway because it doesn't
look at the seqlevels that are in use. For example:

   library(TxDb.Hsapiens.UCSC.hg19.knownGene)
   txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene

Trying to drop chrUn_gl000249 (which I know is not in use):

   > seqlevels(txdb) <- setdiff(seqlevels(txdb), "chrUn_gl000249")
   Error in .seqinfo.TranscriptDbReplace(x, new2old = new2old, force = 
force,  :
     You need to use force=TRUE if you want to drop seqlevels.

'force=TRUE' should only be required when trying to drop seqlevels
that are in use.

So the choice are more between: (a) consistent, (b) convenient,
or (c) leave it as it is (which is neither convenient or consistent).

I vote for (b).

H.
On 09/18/2013 11:31 AM, Marc Carlson wrote: