maf_gmm_fit | R Documentation |
maf_gmm_fit
fits a gaussian mixture model for each possible
copy number state to VAF data, computes the probability of each copy number
and returns a matrix of probabilities for each copy number state
maf_gmm_fit(
depth_data,
vaf_data,
chr_vec,
means,
variances,
maf_variances,
maxpeak,
lowest = NA,
ploidy = NA
)
depth_data |
input read depth data for all bins |
vaf_data |
input vaf data for all bins |
chr_vec |
vector of chromosomes for all bins |
means |
vector of mixture model means |
variances |
standard deviation for the mixture model |
lowest |
optional unless ploidy specified; what is the copy number of the first element of means? |
ploidy |
optional unless lowest specified; what is the most common copy number state? |
vaf_variances |
standard deviation for VAF values |
a matrix of likelihoods, where columns are copy number states and rows are input observations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.