Description Usage Arguments Value
View source: R/generateFrequencies.R
Given a vector of cell state frequencies (log space), this function will induce a specified fold change (fc) into the specified cluster (clus)
1 | getInducedFreqs(log_prior, clus, fc = 1, cf_sigma)
|
log_prior |
A named vector containing the mean frequencies of the prototype dataset's cell states (log space). The "estimateFreqVar" function returns this a mean frequency vector in linear space (can be transformed into log space via the "log" function). |
clus |
The name of the cluster in which a fold change will be induced. |
fc |
The magnitude of the fold change that will be induced in the chosen cluster. If no fold change is desired, set fc = 1. |
cf_sigma |
A matrix containing the covariance between cell states. This matrix is received as output from the "estimateFreqVar" function |
Returns a generated vector in which the designated cluster has the designated fold change induced
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.