View source: R/annots_from_fa.R
annots_from_fa_df | R Documentation |
Ensembl FASTA files for RNA contain much of the information contained in GTF
files, such as chromosome, genome assembly version, coordinates, strand,
gene ID, gene symbol, and gene description. Given such a FASTA file, this
function can extract all the genome annotation information and return a
data frame or a GRanges
object.
annots_from_fa_df(file)
annots_from_fa_GRanges(file)
file |
Path to the FASTA file to be read. The file can remain gzipped. |
annots_from_fa_df
returns a data frame and
annots_from_fa_GRanges
returns GRanges
.
A data frame with genome annotations.
fn <- system.file("testdata/fasta_test.fasta", package = "BUSpaRse")
annots_from_fa_df(fn)
annots_from_fa_GRanges(fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.