plot_tSNE {netDx} | R Documentation |
Plot tSNE
plot_tSNE(psn, pheno)
psn |
(matrix) Patient similarity network represented as adjacency matrix (symmetric). Row and column names are patient IDs. Note that NA values will be replaced by very small number (effectively zero). |
pheno |
(data.frame) Patient labels. ID column is patient ID and STATUS is patient label of interest. tSNE will colour-code nodes by patient label. |
Plots tSNE of patient similarity network using Rtsne
(Rtsne) output of Rtsne call. Side effect of tSNE plot