cleanAssayCols: Remove columns/cells/samples with NAs exceeding a threshold

View source: R/utils.R

cleanAssayColsR Documentation

Remove columns/cells/samples with NAs exceeding a threshold

Description

Remove columns/cells/samples with NAs exceeding a threshold

Usage

cleanAssayCols(se, colmax = 0.8, assay = c("array", "bisulfite"))

Arguments

se

Input SummarizedExperiment object

colmax

The maximum number of NAs allowed as a fraction

assay

The type of assay we are working with

Value

A filtered matrix

Examples

data("meth_array_450k_chr14", package = "compartmap")
cleanAssayCols(array.data.chr.14, assay = "array")

biobenkj/compartmap documentation built on Oct. 18, 2023, 11:11 a.m.