filterVars {SISPA} | R Documentation |
Filter rows with zero values
filterVars(x,y)
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. |
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
The returned value is a list containing an entry for each row filtered out by zero data value
x = matrix(runif(3*10, 0, 1), ncol=3) y <- x[,1] filterVars(x,y)