Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShengLi committed Apr 4, 2014
1 parent ddf3087 commit 87b8625
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ install_github("edmr", username = "ShengLi",build_vignettes=FALSE)

Usage
---------
Load add-on packages and example data
Step 1. Load add-on packages and example data

```R
library(edmr)
library(methylKit)
Expand All @@ -31,7 +32,8 @@ library(data.table)
data(example.myDiff.2013Nov6)
```

Evalution and plot
Step 2. myDiff evalution and plotting

```R
# fitting the bimodal normal distribution to CpGs distribution
myMixmdl=myDiff.to.mixmdl(chr22.myDiff, plot=T, main="example")
Expand All @@ -43,7 +45,8 @@ plotCost(myMixmdl, main="cost function")
![alt tag](inst/cost.png)


Calculate DMRs
Step 3. Calculate DMRs

```R
# calculate all DMRs candidate
mydmr=edmr(chr22.myDiff, mode=1, ACF=TRUE)
Expand Down

0 comments on commit 87b8625

Please sign in to comment.