Description Usage Arguments Value Examples
View source: R/geneAttribution.R
Get gene models as a GenomicRanges object, with gene names in the symbol column For hg19, you may want to use TxDb.Hsapiens.UCSC.hg19.knownGene and for GRCh38, TxDb.Hsapiens.UCSC.hg38.knownGene (set as default)
1 2 | geneModels(txdb = TxDb.Hsapiens.UCSC.hg38.knownGene::TxDb.Hsapiens.UCSC.hg38.knownGene,
maxGeneLength = 1e+06, genesToInclude, genesToExclude)
|
txdb |
GenomicFeatures TxDb object containing genomic coordinates of genes |
maxGeneLength |
An integer. Gene models that are longer than this are excluded. Optional |
genesToInclude |
A character vector of gene symbols of genes to include (e.g. only protein coding genes). Optional |
genesToExclude |
A character vector of gene symbols of genes to exclude. Optional |
A GenomicRanges object containing human gene models
1 2 | geneModels()
geneModels(genesToInclude = c("CYYR1", "ADAMTS1", "ADAMTS5", "N6AMT1", "LTN1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.