powered by
Calculate coefficient of variation (CV), also known as relative standard deviation (RSD) among different sample groups
getCV(x, Group = NULL)
a dataframe with mean values and cv
sample ion intensity matrix, row sample, column feature.
sample group information
dat <- matrix(runif(2*300), ncol = 2, nrow = 300) myGroup <- rep_len(LETTERS[1:2], 300) ret <- getCV(dat, Group = myGroup)
Run the code above in your browser using DataLab