View source: R/AnnotationGenome.R
createGenomeAnnotation | R Documentation |
This function will create a genome annotation object that can be used for creating ArrowFiles or an ArchRProject, etc.
createGenomeAnnotation(
genome = NULL,
chromSizes = NULL,
blacklist = NULL,
filter = TRUE,
filterChr = c("chrM")
)
genome |
Either (i) a string that is a valid |
chromSizes |
A |
blacklist |
A |
filter |
A boolean value indicating whether non-standard chromosome scaffolds should be excluded.
These "non-standard" chromosomes are defined by |
filterChr |
A character vector indicating the seqlevels that should be removed if manual removal is desired for certain seqlevels.
If no manual removal is desired, |
if (!require("BSgenome.Hsapiens.UCSC.hg19", quietly = TRUE)) BiocManager::install("BSgenome.Hsapiens.UCSC.hg19", update = FALSE)
library(BSgenome.Hsapiens.UCSC.hg19)
# Get Genome
genome <- BSgenome.Hsapiens.UCSC.hg19
# Create Genome Annotation
genomeAnno <- createGenomeAnnotation(genome)
# Also can create from a string if BSgenome exists
genomeAnno <- createGenomeAnnotation("hg19")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.