plotPositivesFromPermulations: Plots changes in number of statistically significant rate...

View source: R/PermulationFuncs.R

plotPositivesFromPermulationsR Documentation

Plots changes in number of statistically significant rate acceleration or deceleration versus the number of permulations

Description

Plots changes in number of statistically significant rate acceleration or deceleration versus the number of permulations

Usage

plotPositivesFromPermulations(
  res,
  perm.out,
  interval,
  pvalthres,
  output.res = FALSE
)

Arguments

res

correlation statistic output from correlateWithBinaryPhenotype or correlateWithContinuousPhenotype

perm.out

output from getPermsBinary or getPermsContinuous

interval

interval of number of permulations (e.g., interval = 10 means that number of positives with be calculated for number of permulations = 10, 20, 30, ...)

pvalthres

p-value threshold for identifying statistically significant rate acceleration or deceleration

output.res

Boolean defining whether to output a list object containing changes in the number of identified elements with changing number of permulations (default=FALSE)

Value

A list containing changes in the number of identified elements with changing number of permulations (default=NULL)


nclark-lab/RERconverge documentation built on March 2, 2024, 8:51 a.m.