Fit splines to each gene of data matrix

fit_splines(moanin_model, data, weights = NULL)

Arguments

moanin_model

object of class Moanin

data

a matrix of data to fix splines to

weights

A matrix of weights, of the same dimension as data.

Value

matrix of the coefficients for each basis function, each row of the matrix containing the coefficients for the corresponding gene in data.