ezLoadFeatures | R Documentation |
Loads annotation features from a file and returns them as a data.frame.
ezLoadFeatures(param = NULL, featureFile = param$ezRef["refFeatureFile"],
types = NULL)
addPromotersToGff(gff, promWidth)
param |
contains the feature file and possibly a logical called |
featureFile |
the file to load the features from. |
types |
a character vector containing the types. |
Returns a data.frame of parsed features.
ezGffAttributeField
: Gets the attribute from the specified field
.
addPromotersToGff
: Adds promoters to the gff list if addPromoters
is specified.
Rehrauer, Hubert
Schmid, Peter
ezReadGff
## Not run:
param = ezParam()
gtfFile = system.file("extdata/genes.gtf", package="ezRun", mustWork=TRUE)
gtf = ezLoadFeatures(param, gtfFile)
attrField = ezGffAttributeField(gtf$attributes, field="transcript_id",
attrsep="; *", valuesep=" ")
addPromotersToGff(gtf, promWidth=300L)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.