findSigInterval: Find Significant Interval based on testStat

Description Usage Arguments Value References Examples

View source: R/omicslondaHelper.R

Description

Find Significant Interval based on testStat

Usage

1
findSigInterval(adjusted.pvalue, threshold = 0.05, sign)

Arguments

adjusted.pvalue

vector of the adjusted p-value

threshold

p-value cut off

sign

vector hold area sign of each time interval

Value

returns a list of the start and end points of all significant time intervals

References

Ahmed Metwally (ametwall@stanford.edu)

Examples

1
2
3
4
5
library(SummarizedExperiment)
padjusted = abs(rnorm(10, mean = 0.05, sd = 0.04))
sign = sample(x = c(1,-1), 10, replace = TRUE)
intervals = findSigInterval(adjusted.pvalue = padjusted, 
                        threshold = 0.05, sign = sign)

aametwally/OmicsLonDA documentation built on Feb. 10, 2020, 11:47 a.m.