filterChrGR | R Documentation |
This function allows for removal of manually designated or more broadly undesirable seqlevels from a Genomic Ranges object or similar object
filterChrGR(
gr = NULL,
remove = NULL,
underscore = TRUE,
standard = TRUE,
pruningMode = "coarse"
)
gr |
A |
remove |
A character vector indicating the seqlevels that should be removed if manual removal is desired for certain seqlevels.
If no manual removal is desired, |
underscore |
A boolean value indicating whether to remove all seqlevels whose names contain an underscore (for example "chr11_KI270721v1_random"). |
standard |
A boolean value indicating whether only standard chromosomes should be kept. Standard chromosomes are defined by
|
pruningMode |
The name of the pruning method to use (from |
# Add ArchR Genome
addArchRGenome("hg19test2")
# Filter Chr
filterChrGR(getChromSizes(), remove = "chr5")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.