cleanAssayCols | R Documentation |
cleanAssay()
Remove columns/cells/samples with NAs exceeding a threshold. See cleanAssay()
cleanAssayCols(se, na.max = 0.8, assay = c("array", "bisulfite"))
se |
Input SummarizedExperiment object |
na.max |
The maximum number of NAs allowed as a fraction |
assay |
The type of assay we are working with |
A filtered matrix
if (requireNamespace("minfi", quietly = TRUE)) {
data("array_data_chr14", package = "compartmap")
compartmap:::cleanAssayCols(array.data.chr14, assay = "array")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.