fullSampler {BPM} | R Documentation |
Sampling xi and alpha (tumor purity)
Description
Sampling xi and alpha (tumor purity)
Usage
fullSampler(y, z, mstates, xprior = NULL, maxit = 1000,
burnin = maxit, xpar = FALSE, n_ab0 = NULL, alp0 = NULL,
xbar0 = NULL, trace = FALSE, verbose = FALSE)
Arguments
y |
A matrix, observed pure normal samples |
z |
A matrix, observed mixed tumor samples |
mstates |
A matrix, hyper/hypo of dataset |
xprior |
A matrix, prior knowledge about purity |
maxit |
A number, maximum iteraction |
burnin |
A number, "burn-in" sample |
xpar |
Logistic, default is FALSE |
n_ab0 |
initial value of n_ab |
alp0 |
initial value of alpha |
xbar0 |
initial value of xbar |
trace |
Logisitc, check the values in code, default is FALSE |
verbose |
Logistic, output the message,default is FALSE |
Value
x_bar x_mode, x_last x2 x_sample x_sample xpar xprior2, nab n_ab2, alp alp2
[Package BPM version 1.0.0 Index]