EVEmodel: Generate multivariate normal distribution parameters for an...

Description Usage Arguments Value

View source: R/EVEcore.R

Description

Generate multivariate normal distribution parameters for an EVE model

Usage

1
EVEmodel(tree, thetas, alphas, sigma2s, beta, rootVar, rootE, index.expand)

Arguments

tree

Species phylogeny (phylo object)

thetas

Vector of theta parameters for each edge in the tree

alphas

Vector of alpha parameters for each edge in the tree

sigma2s

Vector of sigma2 parameters for each edge in the tree

beta

The beta parameter

rootVar

The evolutionary variance at the root node

rootE

The expected species mean at the root node

index.expand

A vector mapping individual samples, i.e. columns in the gene expression matrix, to the species in the phylogeny

Value

List with covariance matrix (sigma) and expected species means (mean)


Jmendo12/evemodel documentation built on June 17, 2020, 8:56 p.m.