cside_spase | R Documentation |
This function fits the spatial beta-binomial model with cell type mixtures.
cside_spase(myRCTD, df = 5, genes = NULL, cores = 1, verbose = F)
myRCTD |
RCTD object with maternalCounts and paternalCounts slots |
df |
integer, sets the number of degrees of freedom to use for the smoothing spline. Default is 5. Usually want to increase this or test multiple. |
genes |
optional vector of genes to run on. Good for testing things out. |
cores |
number of cores to use for parallelization. Default is 1. |
Fits the intercept-only model (only cell type effects) and the spatial model (non-parametric thin plate smoothing splines)
If method is betabinomial or quasibinomial, a list containing the following output:
results
a data frame containing a summary of
the results including p-values and q-values for goodness of spatial fit over
baseline covariates provided
fits
a list of beta-binomial model fit objects for each gene
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.