groupmean {DDPNA} | R Documentation |
groupmean
Description
mean of sample group
Usage
groupmean(data, group, method = c("mean", "median"), name = TRUE)
Arguments
data |
protein quantification data. column is sample. row is protein ID. |
group |
sample group information |
method |
Arithmetic mean of sample group or median of sample group.
This must be (an abbreviation of) one of the strings " |
name |
a logical value indicated whether add "mean" or "median" in sample group name. |
Author(s)
Kefu Liu
Examples
data(imputedData)
data <- imputedData
logD <- data$log2_value
group <- gsub("[0-9]+","", colnames(logD))
datamean <- groupmean(logD, group, name = FALSE)
[Package DDPNA version 0.3.3 Index]