Hi all,
I'm using WGCNA for network analysis (blockwiseModules) and intramodularConnectivity.fromExpr to get kWithin values for all genes going into the network. I'm running into a small issue in that intramodularConnectivity.fromExpr drops row/gene names. I'm using column names from the original count matrix to fill in, but I'm unsure if the order of genes is maintained and thus I'm a little uncomfortable using it as a work-around.
Is anyone familiar enough with intramodularConnectivity.fromExpr to suggest a way to maintain row names in its output, or with WGCNA to confirm that the order of genes is maintained (and thus my work around is valid)?
And a tangentially related question, I'm using corFnc = "bicor" for intramodular connectivity and noticing some genes have NA kWithin values. Is this to be expected? I don't get NA values when I use a different approach to get connectivity values (making an adjacency matrix with abs(cor()) followed by intramodularConnectivity()
Many thanks.
Thanks so much, Andres. This is hugely helpful.