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

View source: R/extract_pc.R

extract_pcR Documentation

Extract protein-coding genes from GENCODE basic annotation file

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

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

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

monahton/GencoDymo documentation built on Dec. 13, 2024, 1:23 a.m.