Description Usage Arguments Value
View source: R/model_fit_statistics.R
Calculates fraction of variance in the data explained jointly by all models at a locus
1 | locus_variance_explained(models, abundance, data, masks)
|
models |
the matrix of transcript models |
abundance |
a matrix or vector of abundance values. When it is a matrix each column is a set of abundance values for all models at that loci. This is a more efficient way to calculate the variance explained at the locus for multiple different combinations of abundance values. If it is a vector it must have length equal to the number of models at the loci. |
data |
a vector of count data |
masks |
an integer vector of positions to be masked |
a vector of the total variance explained at the locus by all models with one entry corresponding to each column of the aundance matrix or a single value if abundance is a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.