# NOT RUN {
df <- data.frame("variable"= c("a","b","c","d","e"),"p_value" = c(0.04,0.03,0.04,0.02,0.03))
# defaults to q = 0.05 and shows only significant p values
FDR_values <- simFDR(df)
# q = 0.1 and shows only significant p values
FDR_values <- simFDR(df, q = 0.1)
# q = 0.05 and shows all p values, with significant p values at the top
FDR_values <- simFDR(df, sig_only = FALSE)
# }
Run the code above in your browser using DataLab