Description Usage Arguments Value Examples
View source: R/preprocessData.R
This function uses a given bimodal distribution generated within cells in order to categorize betas as either methylated (1), unmethylated (0), or ambiguous (-1).
1 | fit_betas_to_distribution(betas, bi)
|
betas |
matrix (rows are cell names, columns are probe names) |
bi |
matrix specifying mu0, mu1, sigma0, sigma1 across all cell types |
betas categorized based on bimodal distribution
1 2 | betas <- fit_betas_to_distribution(betas, bi)
... some visualization
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.