FindFpr: Compute the false positive rate at given sizes of retrieved...

Description Usage Arguments Value Author(s)

View source: R/leapp.R

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 false positive rate from the retrieved genes and the true positive genes.

Usage

1
 FindFpr(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

fpr

A vector of false positive rates at given sizes of retrieval.

Author(s)

Yunting Sun yunting.sun@gmail.com, Nancy R.Zhang nzhang@stanford.edu, Art B.Owen owen@stanford.edu


leapp documentation built on May 2, 2019, 2:12 p.m.