plotCorrelation(object, what = "CTSS", values = "raw",
samples = "all", method = "pearson",
tagCountThreshold = 1, applyThresholdBoth = FALSE,
plotSize = 800)
CAGEset
object
"CTSS"
to use individual TSSs or "consensusClusters"
to use consensus clusters, i.e. entire promoters.
"raw"
to use raw tag count per TSS or "normalized"
to use normalized CAGE signal. Used only when what = "CTSS"
, otherwise ignored.
"all"
to plot and calculate pairwise correlations between all samples in a CAGEset
object, or a subset of valid sample labels as returned by sampleLabels
function.
cor
function. Can be one of "pearson"
, "spearman"
, or "kendall"
.
>= tagCountThreshold
in either one (applyThresholdBoth = FALSE
) or both samples (applyThresholdBoth = TRUE
) are plotted and used to calculate correlation.
length(samples) * plotSize
in both dimensions.
matrix
of pairwise correlations between selected samples.
load(system.file("data", "exampleCAGEset.RData", package="CAGEr"))
plotCorrelation(object = exampleCAGEset)
Run the code above in your browser using DataLab