svm_simMat: Calculate stochastic transition matrix between clusters from...

View source: R/svm_simMat.R

svm_simMatR Documentation

Calculate stochastic transition matrix between clusters from a data frame including information about clustering

Description

The transition probability from cluster i to j is calculated based on the information used to cluster cells. It is estimated by the misclassification rate from cluster i to j comparing the original labels with the labels predicted by support vector machine with 5-fold cross validation.

Usage

svm_simMat(dataframe)

Arguments

dataframe

a data frame contains the information used for clustering and the original label of each cell. The original labels should have the column name 'clusterRes'.

Value

a similarity matrix estimated by 5-fold cross validation support vector machine.


huangyh09/DCATS documentation built on Nov. 25, 2022, 7:02 a.m.