Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceSimInternalMethods.R
Identify the site positions where the cases are differentially methylated and, among those, the one that are inherited.
1 2  | getDiffMeth(stateInfo, rateDiff, minRate, propInherite, c = 1, b = -0.1,
  endLength = 1000)
 | 
stateInfo | 
 a  
  | 
rateDiff | 
 a positive   | 
minRate | 
 a non-negative   | 
propInherite | 
 a non-negative   | 
c | 
 a positive   | 
b | 
 a negative   | 
endLength | 
 a positive   | 
a list containing the 2 following elements:
stateDiff a vector of integer (0 
and 1) with length corresponding the length of stateInfo.
The vector
indicates, using 1, the positions where the CpG sites are
differentially methylated.
stateInherite a vector of integer (0 and 
1)
with length corresponding the length of stateInfo. The 
vector
indicates, using 1, the positions where the CpG values are
inherited.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9  | ## Load dataset containing a list of objects used by 
## methInheritSim internal functions
data(dataSimExample)
## Identify differentially methylated sites and among those, the ones
## that are inherited
methInheritSim:::getDiffMeth(stateInfo = 
    dataSimExample$stateInfo, rateDiff = 0.3, minRate = 0.3,
    propInherite = 0.3)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.