View source: R/cell-workflow.R
| cuda_hvg | R Documentation |
Select highly variable features
cuda_hvg(counts, n_top = 2000L, min_mean = 0)
counts |
Feature-by-cell count or normalized expression matrix. |
n_top |
Number of features to select. |
min_mean |
Minimum feature mean. |
A data frame ordered by dispersion with feature statistics and a
selected indicator. The index column retains the original feature
position even when feature names are duplicated.
set.seed(1)
counts <- Matrix::rsparsematrix(20, 10, density = 0.3)
counts@x <- abs(round(counts@x * 5))
cuda_hvg(counts, n_top = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.