run.beta.mixture.model: beta mixure model to decect pCSM loci

Description Usage Arguments Value References Examples

View source: R/run.beta.mixture.model.R

Description

This function is used for identifying the pCSM loci from single-cell methylomes. Briefly, a beta mixture model is utilized to divide the single-cells with hyper and hypo-methylation state into different cell subsets in a given CSM candidate region and determine the significance.

Usage

1
run.beta.mixture.model(candidate,thread=1,distance=0.3,adjusted_pval=0.05,cell_number=8)

Arguments

candidate

A matrix containning the candidate pCSM loci with the format produced by find.candidate.

thread

Number of thread used to be tun beta mixture model.

Value

beta.mixture.output

The matrix of beta mixture model output

References

https://github.com/Evan-Evans/Beta-Mixture-Model

Examples

1
#run.beta.mixture.model(candidate,thread=1,distance=0.3,adjusted_pval=0.05,cell_number=8)

Gavin-Yinld/csmFinder documentation built on Sept. 16, 2019, 3:31 p.m.