Description Usage Arguments Details Value Examples
Geometric Sketching to subsample data from single cell genomics into smaller representative subset of cells, while preserving biological complexity, highlighting rare cell states, and accelerating complex analysis such as data integration.
1 |
object |
A Seurat object. |
sketch.size |
Number of cells to sketch. By default sketch 1000 cells. |
assay |
Assay used for sketching. "RNA" by default. |
slot |
By default slot = "data". |
k |
Target rank of the low-rank SVD. k should satisfy k << min(m,n). By default k = 20. |
The original package 'geosketch' is written in Python. With 'reticulate', we implement it in R and provides a function that directly works with the Seurat object.
Publication: Hie, B., Cho, H., DeMeo, B., Bryson, B., and Berger, B. (2019). Geometric Sketching Compactly Summarizes the Single-Cell Transcriptomic Landscape. Cell Systems.
Github repo: https://github.com/brianhie/geosketch
A sketched Seurat object.
1 2 3 4 5 | ## If haven't installed already.
reticulate::py_install("geosketch")
## mgc has 7527 cells.
mgc.sketched <- geosketch(mgc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.