ezFeatureAnnotation | R Documentation |
Read feature annotation file, either from transcript/isoform level or gene level.
ezFeatureAnnotation(param, ids = NULL,
dataFeatureType = c("gene", "transcript", "isoform"))
param |
A |
ids |
|
dataFeatureType |
|
For each genome build, we have two types of gtf files: genes.gtf and featrues.gtf. For each gtf file, we have two correspodning feature annotation file: *_annotation_byGene.txt and *_annotation_byTranscript.txt. The former has one gene per row and the latter has one transcript per row.
When dataFeatureType
is ‘gene’, *_annotation_byGene.txt,
in the same folder of *_annotation_byTranscript.txt, is used when available.
Otherwise, *_annotation_byTranscript.txt is used with aggregation.
data.frame
of feature annotation.
Ge Tan
param <- list()
param[['refBuild']] <- 'Saccharomyces_cerevisiae/Ensembl/R64/Annotation/Release_98-2019-12-03'
param[['refFeatureFile']] <- 'genes.gtf'
param <- ezParam(param)
txAnno <- ezFeatureAnnotation(param, dataFeatureType="transcript")
geneAnno <- ezFeatureAnnotation(param, dataFeatureType="gene")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.