Description Usage Arguments Value Examples
View source: R/averageReplicates.R
This function takes a list of SummarizedExperiment objects. It averages the requested assay between all input objects and returns a new single SummarizedExperiment object with the averaged assay.
1 | averageReplicates(list, assay.type = "matrix")
|
list |
A list of SummarizedExperiment objects. |
assay.type |
Name the assay to average between all samples. |
A SummarizedExperiment object with the averaged assay.
1 2 3 4 5 6 7 8 9 10 | # Prepare example data ----
sample_names <- c("A", "B", "C")
se_list <- generateDeeptoolsExperiments(20, 10, sample_names)
se_list
# Usage ----
averageReplicates(se_list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.