Description Usage Arguments Value Examples
View source: R/plotCorrelation.R
This function creates a plot of selected pair signal-gene
1 2 3 | plotCorrelation(obj, sId, geneName, xLabel = "Gene expression",
yLabel = "Signal enrichment", colByPhenotype = "",
corMethod = "pearson")
|
obj |
InTADSig object with signals and genes combined in TADS |
sId |
Signal id based on genomic cooridantes i.e. "chr:start-end" |
geneName |
Gene name to select. Based on "gene_name" attribute. |
xLabel |
The label to mark signal X-axis. Default: "Gene expression" |
yLabel |
The label to mark signal Y-axis. Default: "Signal enrichment" |
colByPhenotype |
The pheno data column i.e. tumour type that can be use for colour |
corMethod |
Correlation method. Default: Pearson |
A ggplot
object for visualization or customization.
1 2 3 | inTadSig <- newSigInTAD(enhSel, enhSelGR, rpkmCountsSel, txsSel)
inTadSig <- combineInTAD(inTadSig, tadGR)
plotCorrelation(inTadSig, "chr15:26372163-26398073", "GABRA5")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.