myDiff.to.mixmdl: obtain mixtools model from 'myDiff' object

Description Usage Arguments Examples

View source: R/myDiff.to.mixmdl.R

Description

obtain mixtools model from myDiff object

Usage

1
myDiff.to.mixmdl(myDiff, plot = F, main = "")

Arguments

myDiff

a data.frame object created by calculateDiffMeth from methylKit package and converted into data.frame. Required.

plot

to plot or not the nearest distance distribution.

main

title of the plot

Examples

1
2
3
4
5
6
7
library(edmr)
library(mixtools)
data(edmr)

myMixmdl=myDiff.to.mixmdl(myDiff[1:5000,])
plotMdl1(myMixmdl, subtitle="example", cex.sub=1.2)
plotCost(myMixmdl, main="cost function")

ShengLi/edmr documentation built on Sept. 17, 2021, 3:38 a.m.