View source: R/deltaCaptureC.R
getSignificantRegions | R Documentation |
This function takes delta data as a SummarizedExperiment and required ancillary data and returns a GenomicRanges object whose mcols indicate the significant regions.
getSignificantRegions(
deltaSE,
regionOfInterest,
viewpointRegion,
smallBinSize,
bigBinSize,
numPermutations = 1000,
pValue = 0.05
)
deltaSE |
a ranged summarized experiment with a one-column assay giving the delta mean count |
regionOfInterest |
a GenomicRanges object specifying the region of interest |
viewpointRegion |
the region withheld from arbitrary permutation |
smallBinSize |
size to bin original data to for permutation |
bigBinSize |
size to bin data to for significance testing. Must be a multiple of smallBinSize |
numPermutations |
= 1000 the number of permutations to be used for permutation testing |
pValue |
the desired significance level |
a GRanges object giving the bigBin binning of region of interest whose mcols gives the values of delta and logicals telling whether the bin is in the viewpoint regsion and whether it rises to statistical significance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.