filterVars: A filter function for the data

Description Usage Arguments Details Value Examples

View source: R/filterVars.R

Description

Filter rows with zero values

Usage

1

Arguments

x

: A data frame or matrix where rows represent gene and columns represent samples

y

: A vector of a sample column values to apply the filtering on.

Details

This function filter out rows with zero data value for a given sample. Both input arguments (x and y) must be of the same length

Value

The returned value is a list containing an entry for each row filtered out by zero data value

Examples

1
2
3
x = matrix(runif(3*10, 0, 1), ncol=3)
y <- x[,1]
filterVars(x,y)

SISPA documentation built on Nov. 8, 2020, 8:26 p.m.

Related to filterVars in SISPA...