perm.fdr | R Documentation |
Input empirical P-values
perm.fdr(input_df,perm_df,Pvals_col_name,name)
input_df |
Input_df is N genes by X Variables (can include other betas). Column "Pvals_col_name" contains the vector of empirical p-values for the permutation. |
perm_df |
Perm_df is (N genes x # of permutations; e.g. 100 genes *10 permutations, 1000 rows in total) by 1 (Permutation variable of interest) |
Pvals_col_name |
Column name in "input_df" that contains the empirical p-values of interest |
name |
Name of output DF with empirical FDR corrections – FDR_"name" |
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x)
{
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.