Treat DPT object as a matrix of cell-by-cell DPT distances.
# S4 method for DPT,index,index,logicalOrMissing [(x, i, j, ..., drop = TRUE) # S4 method for DPT,index,missing,logicalOrMissing [(x, i, j, ..., drop = TRUE) # S4 method for DPT,missing,index,logicalOrMissing [(x, i, j, ..., drop = TRUE) # S4 method for DPT,missing,missing,logicalOrMissing [(x, i, j, ..., drop = TRUE) # S4 method for DPT,index,index [[(x, i, j, ...) # S4 method for DPT nrow(x) # S4 method for DPT ncol(x) # S4 method for DPT dim(x)
| x |
|
|---|---|
| i, j | |
| ... | ignored |
| drop | If |
data(guo_norm) dm <- DiffusionMap(guo_norm) dpt <- DPT(dm) set.seed(1) plot(dpt[random_root(dpt), ], Biobase::exprs(guo_norm)['DppaI', ])