extract_minus: Extract elements on the minus strand from a gtf file.

View source: R/extract_strand.R

extract_minusR Documentation

Extract elements on the minus strand from a gtf file.

Description

This function takes a gtf file from GENCODE or the data frame containing extracted introns. It returns as a data frame a specified element; i.e gene, transcript, exon or intron; that are on the reverse strand

Usage

extract_minus(input, type)

Arguments

input

The name of the downloaded gtf file from GENCODE website

type

A string that specifies the type of element to be reported

Value

A data frame of elements on the minus strand

See Also

extract_plus

Examples

df <- load_gtf("gencode.v27.lncRNAs.gtf")
extract_minus(df, type = "gene")
extract_minus(df, type = "transcript")
extract_minus(df, type = "exon")
extract_minus(introns_df, type = "intron")

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