View source: R/gene_scoring_big_matrices.r
matrix_missingness | R Documentation |
This function does two things at once: 1. automatically removes completely-NA rows and columns. 2. finds out if some rows or columns have more missingness than a threshold (default = 0.1 (otherwise written, 10
matrix_missingness(
mat,
col_max_miss = 0.1,
row_max_miss = 0.1,
elim = TRUE,
verbose = TRUE
)
mat |
Matrix |
col_max_miss |
Column maximum missingness (default = 0.1) |
row_max_miss |
Row maximum missingness (default = 0.1) |
elim |
Whether to eliminate rows & cols with too many NAs (default = TRUE), alternative is to just throw a warning |
verbose |
Print what function has done |
It then returns your fixed matrix.
Matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.