predictOneGene | R Documentation |
Auxiliar function. Given a new vector of beta values, this function calculates a matrix with posterior prob of belonging to each mixture commponent (columns) for each new beta value (rows), and return the number of the mixture component with highest posterior probabilit
predictOneGene(newVector, mixtureModel)
newVector |
vector with new beta values |
mixtureModel |
beta mixture model object for the gene being evaluated. |
A matrix with predictions (indices of mixture component), driver genes in rows, new samples in columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.