perm.fdr: Single variable FDR correction from Joaquín Sanz

View source: R/Revolution.R

perm.fdrR Documentation

Single variable FDR correction from Joaquín Sanz

Description

Input empirical P-values

Usage

perm.fdr(input_df,perm_df,Pvals_col_name,name)

Arguments

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"

Examples

##---- 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)
{
  }

janderson94/Revolution documentation built on Oct. 31, 2023, 11:21 a.m.