Hi everyone,

Initially the keepStandardChromosomes required users to specify 3 arguments
( the Seqinfo object, the species and the Style)

I have now implemented it to work only on the Seqinfo object. (A species 
argument can be specified
optionally ) Hope that helps.

>gr <- GRanges(c("chr1", "chr1_gl000192_random", "chrM", "chr1"),
+               IRanges(1:4, width=3))
>keepStandardChromosomes(gr)
GRanges with 3 ranges and 0 metadata columns:
       seqnames    ranges strand
          <Rle> <IRanges>  <Rle>
   [1]     chr1    [1, 3]      *
   [2]     chrM    [3, 5]      *
   [3]     chr1    [4, 6]      *
   ---
   seqlengths:
    chrM chr1
      NA   NA

  



-- 
Thanks and Regards,
Sonali


        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to