View source: R/simulatePhyloPoissonLogNormal.R
get_poisson_log_normal_parameters | R Documentation |
From the parameters of a negative binomial (count_means and count_dispersions), compute the parameters of a phylogenetic Poisson log-normal with the same expectations and variances.
get_poisson_log_normal_parameters(
count_means,
count_dispersions,
prop.var.tree
)
count_means |
a matrix with the number of genes p rows and the number of species n columns. Column names should match the tree taxa names. |
count_dispersions |
a matrix of size p x n, for each gene and species. Column names should match the tree taxa names. |
A list, with:
the p x n matrix of log-means for Poisson-lognormal simulations.
the p vector of phylogenetic log-variances for Poisson-lognormal simulations.
the p x n matrix of environmental log-variances for Poisson-lognormal simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.