rcpp_tei_parallel | R Documentation |
computes the phylogenetically based transcriptome evolutionary index (TEI)
rcpp_tei_parallel(expression, ps, ncores = 1L)
expression |
ExpressionSet as sparseMatrix |
ps |
named Phylostratum |
ncores |
number of cores |
list
Kristian K Ullrich
## load example sequence data
data("PhyloExpressionSetExample", package="myTAI")
spmat <- as(data.matrix(PhyloExpressionSetExample[,-c(1,2)]), "sparseMatrix")
rownames(spmat) <- PhyloExpressionSetExample$GeneID
ps <- setNames(PhyloExpressionSetExample$Phylostratum, PhyloExpressionSetExample$GeneID)
rcpp_tei_parallel(spmat, ps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.