Description Usage Arguments Value Author(s)
Fits the smooth surface of CellTrails maps
1 | .fit_surface(X, y, npoints = 300, weights = NULL, knots = 10, rescale = FALSE)
|
X |
Ordination; numerical matrix |
y |
Expression values; numerical vector |
npoints |
Number of points along x and y axis |
weights |
Cluster states (defines weights based on fraction of non-detects per state) |
knots |
Number of knots in spline function |
A list containing the following components:
|
GAM fit object |
|
Fitted values |
Daniel C. Ellwanger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.