subset_annot | R Documentation |
Exclude chromosomes present in the annotation but absent from the genome and add information about circular chromosomes.
subset_annot(Genome, annot)
## S4 method for signature 'DNAStringSet'
subset_annot(Genome, annot)
## S4 method for signature 'BSgenome'
subset_annot(Genome, annot)
Genome |
Either a |
annot |
Either a |
A subsetted genome annotation of the same type of the input genome annotation.
library(BSgenome.Hsapiens.UCSC.hg38)
library(EnsDb.Hsapiens.v86)
library(GenomeInfoDb)
gn <- BSgenome.Hsapiens.UCSC.hg38
seqlevelsStyle(gn) <- "Ensembl"
subset_annot(gn, EnsDb.Hsapiens.v86)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.