Description Usage Arguments Value Examples
ComputeRP
returns ranks of the genes based on rank product method.
1 |
file |
A tab-delimited text file with a minimum of 3 columns. First column should contain gene names, second column should indicate the evidence type and third column should contain non-negative numeric values (e.g. p-values or effect size). |
signif.type |
A vector containing letters 'L' or 'H' or both. Length of the vector should be the same as the number of evidence types. 'L' or 'H' indicate whether the evidence type contains a low numeric value (e.g. p-value) or a high numeric value (e.g. effect size). |
n.perm |
A number indicating number of permutations used to calculate null density. Defaults to 100 permutations. |
setseed |
An optional argument. If provided a numeric value, sampling will be put in a reproducible state using the setseed value as seed. |
If all the inputs are in the correct format as suggested, then the output will be a dataframe containg genes, their ranks based on RP and corresponding pfp (equivalent to FDR).
1 2 3 4 | input_file <- system.file("extdata","CE_RP_toydata.txt",package="GenRank")
signif.val <- c('L','L','H','L','H','L')
RP_ranks <- ComputeRP(input_file, signif.type = signif.val)
RP_ranks_cust <- ComputeRP(input_file, signif.type = signif.val, n.perm=200, setseed=1234)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.