Description Usage Arguments Details Examples
This will perform clustering on your single cell data.
1 2 3 4 5 6 7 8 9 10 | cluster_sc(
input,
dimension,
method,
num_clust = NA,
s = 2,
xcol = "x",
ycol = "y",
set.seed = F
)
|
input |
the input ex_sc |
dimension |
either "Comp" or "2d" |
method |
can either be "spectral" or "density" which is on 2d |
num_clust |
the number of clusters |
s |
the number of standard deviations from the curve to select cluster centers |
xcol |
first column to use with dimentions for the 2d method |
ycol |
second column to use with dimentions for the 2d method |
This will perform clustering on either the high dimensional PCA / ICA components if dimension = Comp, or the 2d tsne result if method = density. Typically spectral clustering works much better on higher dimensional data, which density based clustering works better on 2d data.
1 | ex_sc_example <- cluster_sc(input = ex_sc_example, dimension = "Comp", method = "spectral", num_clust = 6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.