Description Usage Arguments Details Value Examples
View source: R/createOmics_CheckAssay.R
Check the classes, dimensions, missingness, feature variance, feature type, and feature names of a data frame.
1 | CheckAssay(df, removeNear0 = TRUE, epsilon = 10^-6)
|
df |
An assay data frame supplied to the |
removeNear0 |
Should columns of |
epsilon |
Threshold to consider the variance of a column equal to 0. Defaults to 0.000001. |
This function checks that the data frame is not a matrix, that the
data frame has more columns than rows (tidy genomic data), that the data
frame contains no missing or character values, that no features of the
data frame have variance less than epsilon
(and removes such
features if removeNear0 = TRUE
), and checks the data frame for
valid column names.
The same data frame, without features with 0 variance, if that data frame passes all checks.
1 2 3 4 5 6 7 | # DO NOT CALL THIS FUNCTION DIRECTLY. CALL FROM WITHIN CreateOmics().
## Not run:
data("colonSurv_df")
CheckAssay(colonSurv_df[, -(1:3)])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.