Learn R Programming

CNVtools (version 1.66.0)

getparams: Return mixture parameters

Description

This function should be invisible to most users. Given the full expanded data frame, getparams returns the number of components, the copy number, the mixture model parameters for each batch, the likelihood of the model and the p(disease|c).

Usage

getparams(d)

Arguments

d
Full expanded data frame.

Value

ns
Number of batches
nc
Copy number of this model
nind
Number of individuals
lnL
log likelihood
alpha
Matrix. The mixture proportions
mean
Matrix. The mixture means
var
Matrix. The mixture variances
pdc
Matrix. The p(disease|c)