makeDF {countsimQC} | R Documentation |
Construct a data frame containing statistics and p-values for pairwise comparison of data sets.
makeDF(df, column, permutationPvalues, nPermutations, subsampleSize, kmin, kfrac)
df |
The input data frame. Must contain at least a column named 'dataset' and an additional column with values |
column |
The name of the column(s) of |
permutationPvalues |
Whether or not to calculate p-values of statistics via permutation |
nPermutations |
The number of permutations (only used if permutationPvalues = TRUE) |
subsampleSize |
The number of observations for which certain
(time-consuming) statistics will be calculated. The observations will be
selected randomly among the rows of |
kmin, kfrac |
For statistics that require the extraction of k nearest neighbors of a given point, the number of neighbors will be max(kmin, kfrac * nrow(df)) |
A data table with statistics and p-values for pairwise comparisons of
data sets, based on the provided column
Charlotte Soneson