findSigInterval {OmicsLonDA} | R Documentation

## Find Significant Interval based on testStat

### Description

Find Significant Interval based on testStat

### Usage

    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

    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)

[Package OmicsLonDA version 1.2.2 Index]