cleanAssayRows: Remove rows with NAs exceeding a threshold

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Remove rows with NAs exceeding a threshold

Usage

1
cleanAssayRows(se, rowmax = 0.5, assay = c("array", "atac", "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

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

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