Description Usage Arguments Value

Sampling xi and alpha (tumor purity)

1 2 3 |

`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 |

x_bar x_mode, x_last x2 x_sample x_sample xpar xprior2, nab n_ab2, alp alp2

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.