Description Usage Arguments Value
View source: R/crestree.functions.R
Model gene expression levels as a function of tree positions.
1 2 3 | fit.associated.genes(r, X, n.map = 1,
n.cores = parallel::detectCores()/2, method = "ts", knn = 1,
gamma = 1.5)
|
r |
pptree object |
X |
expressinon matrix of genes (rows) vs cells (columns) |
n.map |
number of probabilistic cell-to-tree mappings to use |
method |
method of modeling. Currently only splines with option 'ts' are supported. |
knn |
use expression averaging among knn cells |
gamma |
stringency of penalty. |
modified pptree object with new fields r$fit.list, r$fit.summary and r$fit.pattern. r$fit.pattern contains matrix of fitted gene expression levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.