cleanAssayRows: Remove rows with NAs exceeding a threshold

View source: R/utils.R

cleanAssayRowsR Documentation

Remove rows with NAs exceeding a threshold

Description

Remove rows with NAs exceeding a threshold

Usage

cleanAssayRows(se, rowmax = 0.5, assay = c("array", "bisulfite"))

Arguments

se

Input SummarizedExperiment object

rowmax

The maximum NAs allowed in a row as a fraction

assay

The type of assay we are working with

Value

A filtered matrix

Examples

data("meth_array_450k_chr14", package = "compartmap")
cleanAssayRows(array.data.chr14, assay = "array")

biobenkj/compartmentalizer documentation built on Oct. 13, 2023, 5:26 p.m.