ezBuildAttributeField | R Documentation |
Builds a compatible attributes field for either the gtf or gff annotation format.
ezBuildAttributeField(x, format = "gtf")
x |
a subset of an annotation data.frame to combine the attributes from. |
format |
the annotation format to build |
Returns a gtf or gff attribute field.
Rehrauer, Hubert
Schmid, Peter
param = ezParam()
gtf = ezLoadFeatures(param, system.file("extdata/genes.gtf", package="ezRun", mustWork=TRUE))
attrNew = ezBuildAttributeField(gtf[ , c("gene_id", "gene_name", "transcript_id", "tss_id")],"gtf")
gtf$attributes2 = attrNew
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.