This function calculates the kurtosis across data for each sample run.
run_kurtosis(data_only)
data.frame with two elements: Sample, a character vector giving the sample names; and Kurtosis, a numeric vector giving the kurtosis
Kurtosis is calculated by method 2 in the e1071
package,
which is unbiased under normality. Within a sample NA values are ignorned
in the kurtosis calculation. If all peptide abundance values are missing
within a sample, the kurtosis is replaced by the overall mean of nonmissing
kurtosis values for the data.