Due to the sparsity observed in single-cell data (e.g. RNA-seq, ATAC-seq), the visualization of cell features (e.g. gene, peak) is frequently affected and unclear, especially when it is overlaid with clustering to annotate cell types. Nebulosa is an R package to visualize data from single cells based on kernel density estimation. It aims to recover the signal from dropped-out features by incorporating the similarity between cells allowing a “convolution” of the cell features.
Nebulosa
is available on Bioconductor
and can be
installed as follows (R >= 4.0):
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
# The following initializes usage of Bioc devel
BiocManager::install(version='devel')
BiocManager::install("Nebulosa")
See Nebulosa for more details.
You can install a temporary version of Nebulosa
for (R < 4.0) from github via devtools
:
devtools::install_github("powellgenomicslab/Nebulosa_Rv3")
Nebulosa can use Seurat
and SingleCellExperiment
objects. See the
corresponding vignette:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.