Description Usage Arguments Details Value Author(s) See Also Examples
Serves as a wrapper for calc_stats
. calc_stats
is a generic function using row numbers of adjacent probes which are to be queried for their difference in methylation levels between samples. testregion() identifies the row numbers of probes included in a specific regionID x and then calls calc_stats
. It returns the difference in methylation level for region x and (if appropriate) the results of formal tests that evaluate this difference.
1 | testregion(x,probes,m,b,n,dMth,do.format=FALSE)
|
x |
region ID, see output |
probes |
see output of |
m |
see output of |
b |
see output of |
n |
total number of samples. |
dMth |
see min_dM parameter of |
do.format |
If TRUE, the function returns a formatted data frame with statistics regarding the region. If FALSE, it returns a basic vector. This is more computationally efficient if testregion is used in a loop (like in |
This function is rarely called by the user directly.
Data frame or vector (depending on the setting of do.format) with statistics and test results concerning region x. For specification, please see calc_stats
.
Martin Rijlaarsdam, m.a.rijlaarsdam@gmail.com
1 2 3 | #testregion() is an integrated part of the DMRforPairs() wrapper and is
#not usually called by the user directly. Please see this function for
#an example.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.