df2g: convert data frame to igraph object with weights

View source: R/df2g.R

df2gR Documentation

convert data frame to igraph object with weights

Description

convert data frame to igraph object with weights

Usage

  df2g(df, w);

Arguments

df

data frame, column 1,2 are gene 1 and gene 2 respectively

w

weights for edges of igraph

Author(s)

Ying Hu <yhu@mail.nih.gov> Chunhua Yan <yanch@mail.nih.gov>

References

##

Examples

##

CBIIT-CGBB/GCluster documentation built on Oct. 26, 2023, 4:27 a.m.