Learn R Programming

SeedMatchR (version 1.1.1)

load_species_anno_db: Load species specific AnnotationDb

Description

Use AnnotationHub to load species-specific GTF and 2bit DNA sequences. This function currently works for human, rat, and mouse.

The function will return:

  • $gtf: A GRanges object containing the GTF information

  • $tx.db: A tx.db object made from the GTF

  • $dna: The 2bit DNA sequence as a DNAStringSet

Usage

load_species_anno_db(species.name, remove.na.rows = TRUE)

Value

Species specific AnnotationDb

Arguments

species.name

Species name. Options: human, rat, mouse

remove.na.rows

Remove rows with NA in the gene_id column

Examples

Run this code
if (FALSE) { # interactive()
anno.db = load_species_anno_db("human")
}

Run the code above in your browser using DataLab