CalcSilhouette | R Documentation |
Calls silhouette
to calculate silhouette widths (a
metric indicating each cell's contribution to cluster cohesion / separation)
for all cells in the sCVdata object, using the cell embedding used in
clustering (see Param(sCVd,"DRforClust")
).
CalcSilhouette(sCVd, inD)
## S4 method for signature 'sCVdata'
CalcSilhouette(sCVd, inD)
sCVd |
An sCVdata object. |
inD |
The input dataset. An object of class |
A silhouette object containing the silhouette widths for all cells in the sCVdata object.
sCVdata
: Calculate silhouette widths for sCVdata
CalcSCV
for wrapper function to calculate all
statistics for an sCVdata object, fx_calcSilhouette
for the
internal function this method points to, and
silhouette
for the function doing the calculations.
## Not run:
Silhouette(your_sCV_obj) <- CalcSilhouette(sCVd=your_sCV_obj,
inD=your_scRNAseq_data_object)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.