filter_chrom | R Documentation |
Remove non-standard chromosomes from a list of GRanges objects.
filter_chrom(
grlist,
keep_chr = paste0("chr", c(seq_len(22), "X", "Y")),
verbose = TRUE
)
grlist |
Named list of GRanges objects. |
keep_chr |
Which chromosomes to keep. |
verbose |
Print messages. |
Named list of GRanges objects.
gr <- GenomicRanges::GRanges(c("chr6:1-1000","chrUns999:1-1000"))
gr2 <- filter_chrom(grlist=gr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.