discoCheckInput: Import Data for DiscoRhythm Analysis

Description Usage Arguments Details Value Examples

View source: R/dataInput.R

Description

Performs various checks and cleaning operations on the input data.

Usage

1
discoCheckInput(se, n_min_sample = 3)

Arguments

se

SummarizedExperiment, the main data object used by DiscoRhythm expected to contain se$ID, se$ReplicateID, se$Time sample metadata and non-null rownames. See the vignette for more details.

n_min_sample

numeric value specifying minimal number of samples needed to perform analysis.

Details

Rows containing NA's or all constant values are removed. If matrix values are character it will be attempted to convert them to numeric. If input is not a matrix it will be converted using as.matrix(). User will be warned if row IDs contain duplicate entries.

Value

SummarizedExperiment checked for errors and modified as needed

Examples

1
2
se <- discoGetSimu(TRUE)
se_clean <- discoCheckInput(se)

DiscoRhythm documentation built on Nov. 8, 2020, 7:32 p.m.