gr.fix | R Documentation |
seqlengths
/ seqlevels
If "genome" not specified will replace NA
seqlengths
in GRanges to reflect largest coordinate per seqlevel
and removes all NA seqlevels
after this fix.
If "genome" defined (i.e. as Seqinfo
object, or a BSgenome
, GRanges
, GRangesList
object with populated seqlengths
),
then will replace seqlengths
in gr
with those for that genome
gr.fix(gr, genome = NULL, gname = NULL, drop = FALSE, pruning.mode = "coarse")
gr |
|
genome |
Genome to fix to: |
gname |
string Name of the genome (optional, just appends to |
drop |
boolean Remove ranges that are not present in the supplied genome (default = FALSE) |
pruning.mode |
string Controls how to prune x. Four pruning modes are currently defined: "error", "coarse", "fine", and "tidy". See GenomeInfoDb documentation. |
GRanges
pile with the fixed Seqinfo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.