gRxSummary: gRxSummary

Description Usage Arguments Details Value Author(s) Examples

View source: R/gRxSummary.R

Description

Summarize gRxCluster Results

Usage

1
gRxSummary(object, targetFD = NULL)

Arguments

object

the result of gRxCluster

targetFD

the critical value target in each tail

Details

Get the FDR and related data for a run of gRxCluster. By selecting a value for targetFD that is smaller that what was used in constructing the object, fewer clumps will be included in the computation fo the False Discovery Rate - akin to what would have been obtained from the object if it had been constructed using that value.

Value

a list containing the summarized results

Author(s)

Charles Berry

Examples

1
2
3
4
5
6
7
8
x.seqnames <- rep(letters[1:3],each=50)
x.starts <- c(seq(1,length=50),seq(1,by=2,length=50),seq(1,by=3,length=50))
x.lens <- rep(c(5,10,15,20,25),each=2)
x.group <- rep(rep(c(TRUE,FALSE),length=length(x.lens)),x.lens)
x.kvals <- as.integer(sort(unique(x.lens)))
x.res <- gRxCluster(x.seqnames,x.starts,x.group,x.kvals,nperm=100L)
gRxSummary(x.res)
rm( x.seqnames, x.starts, x.lens, x.group, x.kvals, x.res)

geneRxCluster documentation built on Nov. 8, 2020, 4:56 p.m.