Description Usage Arguments Value Examples
Find point clounds single cells in a two-dimensional space using density clustering (DBSCAN).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## S3 method for class 'Seurat'
DBclustering(
object,
assay = NULL,
reduction = "tsne",
key = NULL,
dim.1 = 1,
dim.2 = 2,
eps,
minPts = 5,
seed.use = 42,
...
)
## S3 method for class 'DimReduc'
DBclustering(
object,
key = NULL,
dim.1 = 1,
dim.2 = 2,
eps,
minPts = 5,
seed.use = 42,
...
)
## Default S3 method:
DBclustering(object, eps, minPts = 5, seed.use = 42, ...)
DBclustering(object, ...)
|
object |
An object |
assay |
Assay to use in DBSCAN clustering |
reduction |
Which dimensional reduction to use, default is tsne. |
key |
Key used in provided DimReduc object |
dim.1 |
First dimension to use |
dim.2 |
second dimension to use |
eps |
size of the epsilon neighborhood. Lower value to get more fine-scale clustering. |
minPts |
number of minimum points in the eps region (for core points). Default is 5 points. |
seed.use |
Random seed for the dbscan function |
... |
Arguments passed to other methods and destiny |
Returns a Seurat object where the idents have been updated with new cluster info; latest clustering results will be stored in object metadata under 'DB_clusters'. Note that 'DB_clusters' will be overwritten everytime FindClusters is run
1 2 3 | pbmc_small
# Density based clustering on the first two tSNE dimensions
pbmc_small <- DBclustering(pbmc_small)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.