getEnsemblTypes: Gets the ensembl types

View source: R/gff.R

getEnsemblTypesR Documentation

Gets the ensembl types

Description

Gets the ensembl types of an annotation data.frame either directly from the source, the gene_biotype or the gene_type.

Usage

getEnsemblTypes(gff)

Arguments

gff

an annotation data.frame in gtf or gff format.

Value

Returns a character vector containing the types of the elements or NULL if they are not provided in gff.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

param = ezParam()
gtf = ezLoadFeatures(param, system.file("extdata/genes.gtf", package="ezRun", mustWork=TRUE))
et = getEnsemblTypes(gtf)

uzh/ezRun documentation built on April 14, 2024, 5:09 a.m.