## S3 method for class 'matrix':
getWmat(x,nNodes,labels, directed = TRUE,\dots)
## S3 method for class 'data.frame':
getWmat(x,nNodes,labels, directed = TRUE,\dots)
## S3 method for class 'igraph':
getWmat(x,labels,\dots)
## S3 method for class 'qgraph':
getWmat(x,directed,\dots)