Description Usage Arguments Value Author(s) Examples
View source: R/annotateTargets.R
This function can be used to add a ‘Gene’ meta column containing
gene symbols to a GRanges
object.
It applies heuristics to find the protein coding genes that were
likely meant to target in the assay design in case transcripts
overlap.
1 | annotateTargets(x, txdb, org)
|
x |
A |
txdb |
A |
org |
A |
A GRanges
object.
Markus Riester
1 2 3 4 5 6 7 | library(TxDb.Hsapiens.UCSC.hg19.knownGene)
library(org.Hs.eg.db)
normal.coverage.file <- system.file("extdata", "example_normal.txt",
package="PureCN")
x <- head(readCoverageFile(normal.coverage.file),100)
x <- annotateTargets(x,TxDb.Hsapiens.UCSC.hg19.knownGene, org.Hs.eg.db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.