View source: R/get_genome_annotation.R
get_genome_annotation | R Documentation |
Get Genome Annotation
get_genome_annotation(
data_type = c("chr_size", "centro_loc", "cytobands", "transcript", "gene"),
chrs = paste0("chr", c(1:22, "X", "Y")),
genome_build = c("hg19", "hg38", "T2T", "mm10", "mm9", "ce11")
)
data_type |
'chr_size' for chromosome size, 'centro_loc' for location of centromeres, 'cytobands' for location of chromosome cytobands and 'transcript' for location of transcripts. |
chrs |
chromosomes start with 'chr' |
genome_build |
one of 'hg19', 'hg38' |
a data.frame
containing annotation data
df1 <- get_genome_annotation()
df1
df2 <- get_genome_annotation(genome_build = "hg38")
df2
df3 <- get_genome_annotation(data_type = "centro_loc")
df3
df4 <- get_genome_annotation(data_type = "centro_loc", genome_build = "hg38")
df4
df5 <- get_genome_annotation(data_type = "cytobands")
df5
df6 <- get_genome_annotation(data_type = "cytobands", genome_build = "hg38")
df6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.