Description Usage Arguments Value Examples
View source: R/annots_from_fa.R
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.
1 2 3 |
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.
1 2 3 | 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.