DEdist | R Documentation |
A variety of methods for calculating inter-cluster distances for sCVdata
objects, most of which return matrices which can be converted to
dist
objects.
DEdist(sCVd, y)
## S4 method for signature 'sCVdata,numeric'
DEdist(sCVd, y)
## S4 method for signature 'sCVdata,missing'
DEdist(sCVd, y)
## S4 method for signature 'sCVdata,character'
DEdist(sCVd, y)
## S4 method for signature 'sCVdata,matrix'
DEdist(sCVd, y)
sCVd |
An sCVdata object. |
y |
One of the following, depending on the desired distance metric:
|
A matrix of distances between clusters for each cluster resolution.
Interpretable by as.dist
to generate a dist
object.
sCVd = sCVdata,y = numeric
: By number of differentially-expressed genes (see
fx_calcDist_numDE
)
sCVd = sCVdata,y = missing
: By differential expression significance score (see
fx_calcDist_scoreDE
)
sCVd = sCVdata,y = character
: By gene expression summary statistic (see
fx_calcDist_geneExpr
)
sCVd = sCVdata,y = matrix
: By distance between centroids in a cell embedding (see
fx_calcDist_cellEmb
)
DEdistNN
for a method to find nearest neighbouring
clusters from DEdist
results.
## Not run:
numDE_bw_clusts <- DEdist(sCVd=your_sCV_obj,0.01)
DEdistNN(numDE_bw_clusts)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.