powered by
Identify significant time intervals
findSigInterval(adjusted.pvalue, threshold = 0.05, sign)
vector of the adjusted p-value
p-value cut off
vector hold area sign of each time interval
returns a list of the start and end points of all significant time intervals
Ahmed Metwally (ametwall@stanford.edu)
# NOT RUN { p = c(0.04, 0.01, 0.02, 0.04, 0.06, 0.2, 0.06, 0.04) sign = c(1, 1, 1, 1, -1, -1, 1, 1) findSigInterval(p, threshold = 0.05, sign) # }
Run the code above in your browser using DataLab