Question: seqnames versus chrom
gravatar for felix.ernst
15 months ago by
felix.ernst0 wrote:

Dear all,

I can retrieve the chromosome names stored in a GRanges object either using GenomeInfoDb::seqnames() or rtracklayer::chrom(). This deviates from the use of the other accessor functions, such as BiocGenerics::start(), BiocGenerics::end(), etc

Is there a reason for this split up? Is there a best practice, which function (seqnames or chrom) to use?

Thanks for the suggestions.





ADD COMMENTlink modified 15 months ago by Michael Lawrence10k • written 15 months ago by felix.ernst0
Answer: seqnames versus chrom
gravatar for Michael Lawrence
15 months ago by
United States
Michael Lawrence10k wrote:

Stick with seqnames(). The chrom() accessor is from before GRanges existed. Should probably be deprecated.

ADD COMMENTlink written 15 months ago by Michael Lawrence10k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 160 users visited in the last hour