Description Usage Arguments Value Examples
View source: R/plotReferenceDistribution.R
Creates a density plot (in pdf) for the sample against the reference distribution (density plots) of the compendium values stratified by chromatin marks.
plotReferenceDistribution
1 2 3 4 5 6 | plotReferenceDistribution(
target,
metricToBePlotted = "RSC",
currentValue,
savePlotPath = NULL
)
|
target |
String, chromatin mark or transcription factor to be analysed. Use listAvailableElements() function to check availability. |
metricToBePlotted |
The metric to be plotted (Default='RSC') |
currentValue |
The value of the current sample |
savePlotPath |
if set the plot will be saved under 'savePlotPath'. Default=NULL and plot will be forwarded to stdout. |
nothing, creates a figure under 'savePlotPath'
1 2 3 4 5 6 7 8 9 | print ('Plot distribution of RSC')
## Not run:
filepath=tempdir()
setwd(filepath)
plotReferenceDistribution(target="H3K4me1",
metricToBePlotted="RSC", currentValue=0.49, savePlotPath=filepath)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.