Description Usage Arguments Details Value Note Author(s) See Also Examples
View source: R/ExpressionAnalysis.R
Computes the significance of the agreements between lists as returned by RRHO
using resampling.
1 | pvalRRHO(RRHO.obj, replications, stepsize=RRHO.obj$stepsize, FUN= max)
|
RRHO.obj |
The output object of the |
replications |
The number of samples to be taken from the distribution of the aggregated test statistic. |
stepsize |
Controls the resolution of the test: how many items between any two overlap tests (i.e., netween any two i-s and two j-s.) |
FUN |
The function aggregating infomation from the whole overlap matrix into one summary statistic. Typically the min pvalue, or max on -log(pval) scale. |
The distribution of FUN(-log(pval)) is computed using resampling.
The aggregating function will typically be the max
function, corresponding to the maximal -log(pvalue)
, i.e., the most significant agreement over all sublists.
The distribution is computed by resampling pairs of null sequences, computing the significances of all the overlaps as done in the reference, applying the aggregating function supplied by the user, and returning the permutation based significance.
pval |
The FWER corrected significance of observed aggregated pvalue. |
FUN.ecdf |
The simulated sampling distribution of the aggregated pvalues. |
FUN |
The matrix aggregation function used. typicall |
n.items |
Length of lists. |
stepsize |
See |
replications |
The number of simulation replications. |
call |
The function call. |
Might take a long time to run. Depending on the number of replications
, the item (gene) count and the stepsize
.
Also note that the significance returned is a conservative value (by a constant of 1/replications
).
Jonathan Rosenblatt
1 2 3 4 5 6 | list.length <- 100
list.names <- paste('Gene',1:list.length, sep='')
gene.list1<- data.frame(list.names, sample(list.length))
gene.list2<- data.frame(list.names, sample(list.length))
RRHO.example <- RRHO(gene.list1, gene.list2, alternative='enrichment')
pval.testing <- pvalRRHO(RRHO.example,50)
|
Loading required package: grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.