View source: R/gencode_compare.R
gencode_compare | R Documentation |
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
gencode_compare(df1, df2, type)
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 |
Delta: The difference between annotated numbers of a particular genetic element. Percentage: the percentage of delta
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.