Closed Valentin-Bio-zz closed 2 years ago
Hi Valentin, Could you please check whether your input has row and column names? E.g.: rownames(as.matrix(symBeta(getOptBeta(oral_AR_net)), mode = "maxabs")) colnames(as.matrix(symBeta(getOptBeta(oral_AR_net)), mode = "maxabs"))
They are important because they define the taxa, which are the network's nodes. Note that row and column names must be equal if association matrices are used as input.
I'll add a stopping criterion to catch the case that dim names are missing.
Best, Stefanie
Thanks so much for your help! it worked.
Best,
Valentín.
Hello, developer! thanks for this tool! I'm trying to make a camparison between networks and later establish differentially associated nodes using NetCoMi. THe point is when I run
netAnalyze()
over the MIcronet object with two networks I cannot plot the networks due to NULL hubs. I used SpiecEAsi adjacent networks for the analysis:then, when I run the
netAnalyze()
I got the following:oral_NO_AR_comp$hubs
**$hubs1 NULL
$hubs2 NULL**