| pVal {DMRScan} | R Documentation |
Method get pvalue
Get p-values for a region
Get p-values for a list of regions (RegionList)
pVal(region, n = 12) ## S4 method for signature 'Region' pVal(region, n = 12) ## S4 method for signature 'RegionList' pVal(region, n = 12)
region |
An object of type Region or RegionList |
n |
The number of digits to be presented. Default is 10 |
The reported p-value for a region
#Number of probes is n = 10
nCpG <- 10
region <- Region(tValues = rnorm(nCpG),
position = 1:nCpG,
chromosome = "3",
pVal = runif(1))
## Pvalues for Region
pVal(region)