Description Usage Arguments Value Author(s) Examples
View source: R/MissingValues.r
Replaces missing values for large metabolomics data matrices.
1 2 3 | MissingValues(inputdata, column.cutoff=NULL, group.cutoff = NULL,
complete.matrix = FALSE, seed = 100,
saveoutput = FALSE, outputname = "missing.values.rep")
|
inputdata |
A data frame in the input data format. See |
column.cutoff |
A value between zero and one. If the proportion of missing values is equal to or more than the column.cutoff in all groups, that whole column will be deleted. |
group.cutoff |
A value between zero and one. If the proportion of missing values in a group is equal to or more than the group.cutoff, those missing values will be replaced by a random number between zero and the minimum of the entire matrix. |
complete.matrix |
A logical indicating whether a complete matrix is required. If |
seed |
An integer, denoting state for random number generation in R. |
saveoutput |
A logical indicating whether the output should be saved. If |
outputname |
The name of the output file if the output has to be saved. |
The output is an object of class metabdata
.
Alysha M De Livera, Jairus B Bowne
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.