Learn R Programming

leapp (version 1.3)

FindRec: compute the recall at given sizes of retrieved genes

Description

Given a vector of sizes of retrieved genes, for each size k, select the top k genes with smallest p values and compute the recall from the retrieved genes and the true positive genes.

Usage

FindRec(pvalue, ind, topk)

Arguments

pvalue

A vector of p values, one for each gene, with length m

ind

A vector of indices that the corresponding gene are true positive

topk

A vector of integers ranging from 1 to m , length of retrieved gene list

Value

rec

A vector of precisions at given sizes of retrieval.

%% ~Describe the value returned %% If it is a LIST, use %% \item{comp1 }{Description of 'comp1'} %% \item{comp2 }{Description of 'comp2'} %% ...