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

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Remove columns/cells/samples with NAs exceeding a threshold

Usage

1
cleanAssayCols(se, colmax = 0.8, assay = c("array", "atac", "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

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

JordanVeldboom/compartmap documentation built on July 3, 2020, 6:32 p.m.