Learn R Programming

NormExpression (version 0.1.1)

calcFactorUpperquartile: calcFactorUpperquartile

Description

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

Usage

calcFactorUpperquartile(data, lib.size, p = p)

Arguments

data

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

lib.size

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

p

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

Examples

Run this code
##---- 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, lib.size, p = p)
{
    y <- t(t(data)/lib.size)
    f <- apply(y, 2, function(x) quantile(x[x != 0], p = p))
  }

Run the code above in your browser using DataLab