feature.describe: summary statistics for features

View source: R/feature.describe.R

feature.describeR Documentation

summary statistics for features

Description

This function allows you to 'describe' metabolite features using the describe() function from the psych package, as well as estimate variance, a dispersion index, the coeficent of variation, and shapiro's W-statistic.

Usage

feature.describe(wdata)

Arguments

wdata

the metabolite data matrix. samples in row, metabolites in columns

Value

a data frame of summary statistics for features (columns) of a matrix

Examples

ex_data = sapply(1:20, function(x){ rnorm(250, 40, 5) })
feature.describe(ex_data)


MRCIEU/metaboprep documentation built on Jan. 28, 2023, 7:29 p.m.