Description Usage Arguments Value Examples
Calculate various metrics (mean, variance, CV2 and signal-to-noise ratio) using a sliding window approach
1 | calculate_metrics(sce, gene, window_size = NULL)
|
sce |
A |
gene |
The gene of interest on which to calculate the metrics |
window_size |
The size of the sliding window. By default taken to be half the number of cells |
An object of class 'data.frame' where each column is a metric (window-averaged pseudotime, mean, variance, CV2, signal to noise ratio)
1 2 3 4 5 | library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
sce <- fit_pseudotime(sce)
metrics <- calculate_metrics(sce, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.