View source: R/filter_objects.R
run_group_meancor | R Documentation |
This function calculates the mean correlation of a sample with all other samples that have the same group membership
run_group_meancor(omicsData, mintR_groupDF, ignore_singleton_groups = TRUE)
omicsData |
an object of the class 'pepData', 'proData', 'metabData', or
'lipidData' usually created
by |
mintR_groupDF |
data.frame created by |
ignore_singleton_groups |
logical indicator of whether to remove singleton groups or not; defaults to TRUE. A singleton group is a group consisting of just a single sample. If TRUE, rmd_filter results are returned only for samples in groups of size greater than 1. This is used when calculating the correlation. |
Correlation calculations use only complete pairwise observations.
data.frame with two elements: Sample.ID, a character vector giving the sample names; and Mean_Correlation, a numeric vector giving the mean correlation values
Lisa Bramer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.