filteredZero {NormExpression}R Documentation

filteredZero

Description

Please refer to the file /inst/doc/readme.pdf.

Usage

filteredZero(data, nonzeroRatio)

Arguments

data

Please refer to the file /inst/doc/readme.pdf.

nonzeroRatio

Please refer to the file /inst/doc/readme.pdf.

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (data, nonzeroRatio)
{
    nozeroCount <- apply(data, 1, function(x) length(which(x !=
        0)))
    geneIndex <- which(nozeroCount >= ncol(data) * nonzeroRatio)
    return(geneIndex)
  }

[Package NormExpression version 0.1.1 Index]