Description Usage Arguments Value Examples
Get smoothers estimated by tradeSeq
along a
grid. This function does not return fitted values but rather the predicted
mean smoother, for a user-defined grid of points.
1 2 3 4 5 6 7 | predictSmooth(models, ...)
## S4 method for signature 'SingleCellExperiment'
predictSmooth(models, gene, nPoints = 100, tidy = TRUE)
## S4 method for signature 'list'
predictSmooth(models, gene, nPoints = 100)
|
models |
Either the |
... |
parameters including: |
gene |
Either a vector of gene names or an integer vector, corresponding to the row(s) of the gene(s). |
nPoints |
The number of points used to create the grid along the smoother for each lineage. Defaults to 100. |
tidy |
Logical: return tidy output. If TRUE, returns a |
A matrix
with estimated averages.
1 2 | data(gamList, package = "tradeSeq")
predictSmooth(models = gamList, gene = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.