getCV {MSbox}R Documentation

Calculate coefficient of variation (CV)

Description

Calculate coefficient of variation (CV), also known as relative standard deviation (RSD) among different sample groups

Usage

getCV(x, Group = NULL)

Arguments

x

sample ion intensity matrix, row sample, column feature.

Group

sample group information

Value

a dataframe with mean values and cv

Examples

dat <- matrix(runif(2*300), ncol = 2, nrow = 300)
myGroup <- rep_len(LETTERS[1:2], 300)
ret <- getCV(dat, Group = myGroup)

[Package MSbox version 1.4.8 Index]