Description Usage Arguments Value
View source: R/twoThetaModel.R
Simulate expression data for the two-theta EVE model, i.e. two different thetas assigned to specific edges
1 2 | simTwoTheta(n, tree, colSpecies, isTheta2edge, theta1, theta2, sigma2,
alpha, beta)
|
n |
Number of "genes" to simulate |
tree |
Phylogeny |
colSpecies |
A character vector with same length as columns in returned expression matrix, specifying the species, i.e. tip labels in the phylogeny, for the corresponding column. |
isTheta2edge |
Logical vector with same length as number of edges in tree specifying whether the corresponding edge theta parameter should be theta2 (TRUE) or theta1 (FALSE) |
theta1 |
Value of the theta1 parameter |
theta2 |
Value of the theta2 parameter |
sigma2 |
Value of the sigma2 parameter |
alpha |
Value of the alpha parameter |
beta |
Value of the beta parameter |
Matrix of simulated gene expression values with samples in columns and genes in rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.