Entering edit mode
Burak Kutlu
▴
140
@burak-kutlu-3941
Last seen 10.2 years ago
Hi
I have a question (hopefully clear enough) on the edge weights when we
construct the distGraph as in the example below;
Is there a way to populate the edgeWeights with the distance values ?
Thanks!
-burak
x <- rnorm(26)
names(x) <- letters
library(stats)
d1 <- dist(x)
g1 <- new("distGraph", Dist=d1)
g1
distGraph with 26 nodes
--
Burak Kutlu, PhD.
Research Scientist
Hood Lab
Institute for Systems Biology