Description Usage Arguments Details Value
Fit splines to each gene of data matrix, used by DE_timecourse
1 | fit_splines(design_matrix, data, weights = NULL)
|
design_matrix |
design matrix (containing evaluated basis matrix, but potentially other variables) to fit |
data |
a matrix of data to fix splines to |
weights |
A matrix of weights, of the same dimension as |
Needed to allow for fitting weights, in which case for loop over every row/gene. Otherwise, just a call to lm.fit.
matrix of the coefficients for each basis function, each row of the
matrix containing the coefficients for the corresponding gene in
data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.