microbiomeDB / corGraph

An R Shiny app to generate correlation matrices and visualize them as networks
Apache License 2.0
0 stars 1 forks source link

unipartite widget sometimes casts nodes out of view #17

Open d-callan opened 5 months ago

d-callan commented 5 months ago

this from dan in slack

2024-03-19 11 46 00

dpbisme commented 5 months ago

You can reproduce this with the the following code:


library(MicrobiomeDB) library(tidyverse)

grab two collections of interest, in this case species level data and pathway abundance data

metagenomic_species <- getCollection(HMP_WGS, "WGS Species")

correlate taxa with pathways/genes

selfCorrelation_species <- selfCorrelation(metagenomic_species, method='pearson')

correlationNetwork( selfCorrelation_species, correlationCoefThreshold = 0.5, pValueThreshold = 0.05, bipartiteNetwork = TRUE )