| Region {DMRScan} | R Documentation |
Shorthand for initializing region
Region(tValues, position, chromosome, pVal, id)
tValues |
A vector of test statistics |
position |
A vector of position for each test statistc |
chromosome |
An character describing the chromosome (1-22, X,Y) |
pVal |
The P value of a region, set to numeric() if not given. |
id |
The names of each probe in the region |
An object of type Region
An object of type Region
#Number of probes is n = 10
nCpG <- 10
region <- Region(tValues = rnorm(nCpG),
position = 1:nCpG,
chromosome = "3",
id = paste("CpG",1:nCpG,sep="_"),
pVal = runif(1))