discoCheckInput: Import Data for DiscoRhythm Analysis

View source: R/dataInput.R

discoCheckInputR Documentation

Import Data for DiscoRhythm Analysis

Description

Performs various checks and cleaning operations on the input data.

Usage

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

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


matthewcarlucci/DiscoRhythm documentation built on March 24, 2022, 10:22 a.m.