View source: R/ABneutralSOMA.R
ABneutralSOMA | R Documentation |
This model assumes that somatically heritable gains and losses in cytosine methylation are selectively neutral.
ABneutralSOMA(pedigree.data, p0uu, eqp, eqp.weight, Nstarts, out.dir, out.name)
pedigree.data |
pedigree data. |
p0uu |
initial proportion of unmethylated cytosines. |
eqp |
equilibrium proportion of unmethylated cytosines. |
eqp.weight |
weight assigned to equilibrium function. |
Nstarts |
iterations for non linear LSQ optimization. |
out.dir |
output directory. |
out.name |
output file name. |
ABneutralSoma RData file.
#Get some toy data inFile <- readRDS(system.file("extdata/soma/","outputSoma.rds", package="AlphaBeta")) pedigree <- inFile$Pdata p0uu_in <- inFile$tmpp0 eqp.weight <- 0.001 Nstarts <- 2 out.name <- "ABneutralSOMA_CG_estimates" out <- ABneutralSOMA(pedigree.data = pedigree, p0uu=p0uu_in, eqp=p0uu_in, eqp.weight=eqp.weight, Nstarts=Nstarts, out.dir=getwd(), out.name=out.name) summary(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.