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

Description Usage Arguments Value Examples

View source: R/gencode_compare.R

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

1
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

1
2
3
4
5
6
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 Nov. 29, 2021, 9:16 a.m.