gencode_compare: Compare number of annotations between 2 different releases...

View source: R/gencode_compare.R

gencode_compareR Documentation

Compare number of annotations between 2 different releases from GENCODE

Description

This function compares the number of annotated genes, transcripts, exons or introns from 2 data frames. It is used to compare the different annotations between different releases from GENCODE

Usage

gencode_compare(df1, df2, type)

Arguments

df1

The name of the first data frame of a particular release from GENCODE

df2

The name of the second data frame of a particular release from GENCODE

type

A string specifying the genetic element to be compared

Value

Delta: The difference between annotated numbers of a particular genetic element. Percentage: the percentage of delta

Examples

data1 <- load_gtf("gencode.v27.lncRNAs.gtf")
data2 <- load_gtf("gencode.v28.lncRNAs.gtf")
gencode_compare(data1, data2, type = "gene")
gencode_compare(data1, data2, type = "transcript")
gencode_compare(data1, data2, type = "exon")
gencode_compare(data1, data2, type = "intron")

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