Description Usage Arguments Value Author(s) See Also Examples
Illustrates differential expression of genes in the neighborhood of a CNV.
1 | plotEQTL(cnvr, genes, genome, cn = "CN1")
|
cnvr |
A |
genes |
|
genome |
Character. A valid UCSC genome assembly ID such as 'hg19' or 'bosTau6'. |
cn |
Character. Copy number state of interest. |
None. Plots to a graphics device.
Ludwig Geistlinger
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # CNV region of interest
cnvr <- GRanges("chr1:7908902-8336254")
# Two genes in the neighborhood
genes <- c("chr1:8021714-8045342:+", "chr1:8412464-8877699:-")
names(genes) <- c("PARK7", "RERE")
genes <- GRanges(genes)
# Annotate differential expression for 1-copy loss
genes$logFC.CN1 <- c(-0.635, -0.728)
genes$AdjPValue <- c(8.29e-09, 1.76e-08)
# plot
plotEQTL(cnvr, genes, genome="hg19", cn="CN1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.