extract_pc: Extract protein-coding genes from GENCODE basic annotation...

Description Usage Arguments Value Examples

View source: R/extract_pc.R

Description

This function takes a data frame of basic annotations provided by GENCODE as input. The function extracts from the data frame all the protein-coding genes and gives as an output a data frame in the R Global Environment. The output data frame includes the gene, transcript and exon annotations only.

Usage

1
extract_pc(input)

Arguments

input

The name of the downloaded basic annotation gtf file from GENCODE website

Value

A data frame of protein-coding genes

Examples

1
2
df <- load_gtf("gencode.v27.basic.annotation.gtf")
extract_pc(df)

monahton/GencoDymo documentation built on Nov. 29, 2021, 9:16 a.m.