View source: R/multiscalePlot.R
multiscaleGroupAverage | R Documentation |
Output of this function can be passed directly to multiscaleMethylationPlot
multiscaleGroupAverage(means_dir, samples, config, which)
means_dir |
List of length nSamples. Each element of means.list is itself a list of GRanges of length, nSteps |
samples |
character vector of samples to include. These samples must match the sample column from samples.tsv in the multiscale plot workflow |
config |
Config YAML from the multiscale plot workflow |
which |
GRanges for rtracklayer::import |
a GRangesList with the average values
# Not a great example, but it works
files.loc <- system.file("extdata", package="bisplotti")
grp_avg <- multiscaleGroupAverage(
files.loc,
"Heyn_2012_100yr_subset",
paste0(files.loc, "/config_example.yaml"),
NULL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.