Learn R Programming

newFocus (version 1.1)

discov: True discoveries

Description

True discoveries calculated by the partial closed testing

Usage

discov(response, alternative, null, data, maxit = 0, alpha)

Arguments

response

The response variable

alternative

The alternative hypothesis, which is a character vector, i.e. a set of genes

null

The null hypothesis

data

A data frame with response and all covariates included

maxit

The maximal number of repetitions prespecified by user

alpha

The significance level

Value

It will return a non-negative integer: the lower bound for the number of true discovereis of the alternative gene set.