[BioC] edgeWeights of a distGraph object

Burak Kutlu bkutlu at systemsbiology.org
Thu May 13 22:39:50 CEST 2010


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



More information about the Bioconductor mailing list