gene_expression_input: Detect whether the input gene expression data are valid

Description Usage Arguments Value Author(s) Examples

View source: R/gene_expression_input.R

Description

Check the input gene expression data to see whether they are nonempty, nonnegative, etc.

Usage

1

Arguments

X

gene expression data matrix with row representing genes/probe sets, and column representing samples.

Value

If the input is valid, the output will be the same as the input; otherwise, if the input contains NA, the corresponding rows will be deleted. if the input contains negative value, the algorithm will stop and give error information.

Author(s)

Niya Wang ([email protected])

Examples

1
2
gene_expression <- matrix(runif(2000),1000,2)
valid_gene_expression <- gene_expression_input(gene_expression)

Bioconductor-mirror/UNDO documentation built on June 1, 2017, 3:26 a.m.