run_skewness {pmartR} | R Documentation |
Calculate the Skewness of Sample Runs
Description
This function calculates the skewness across data for each sample run.
Usage
run_skewness(data_only)
Arguments
data_only |
a |
Details
Skewness is calculated as a bias-corrected calculation given by
method 2 in the e1071
package. Within a sample NA values are
ignorned in the skewness calculation. If all peptide abundance values are
missing within a sample, the skewness is replaced by the overall mean of
nonmissing skewness values for the data.
Value
data.frame with two elements: Sample, a character vector giving the sample names; and Skewness, a numeric vector giving the skewness values
Author(s)
Lisa Bramer
[Package pmartR version 2.4.5 Index]