filter_gencode: Filter the gencode tibble by feature and tag.

Description Usage Arguments Value Examples

View source: R/filter-gencode.r

Description

This function filters a gencode tibble (such as returned from import_gencode() to select the given feature type, taged with the given tag.

Usage

1
filter_gencode(gtf, featurearg = "transcript", tagarg)

Arguments

gtf

The gencode tibble

featurearg

The feature type of interest. Must be one of gene, transcript, exon, CDS, UTR, start_codon, stop_codon, Selenocysteine. Default = "transcript"

tagarg

The attribute of interest. Legal tags are listed at https://www.gencodegenes.org/gencode_tags.html Default = "basic"

Value

A tibble containing the rows matching the feature and tag of interest

Examples

1
2
3
4
## Not run: 
filter_gencode(gtf = gtf, feature = "transcript", tag = "basic")

## End(Not run)

UW-GAC/genetable documentation built on May 5, 2019, 11:08 p.m.