This package is home to some html widgets which build interactive correlation network diagrams. It also contains a Shiny app where you can upload 1-2 data tables, produce correlation coefficients and p-values and then visualize the results with the custom widgets.
The widgets are designed to re-create the diagrams from the MicrobiomeDB.org correlation apps. They are built in d3 and are admittedly a bit of a work-in-progress currently. If you would like to use them with microbiome (or similar) data in R, see our MicrobiomeDB package.
Use the R package remotes to install corGraph. From the R command prompt:
remotes::install_github('microbiomeDB/corGraph')
After installing the package, you can launch the shiny app like this:
corGraph::corGraph()
Once the app has started, use the provided test files in inst/extdata. If you would like to test the unipartite network, we recommend the file mpg-all-continuous.tsv. If you would like to test the bipartite network, we would recommend the files mpg-cty-hwy.tsv and mpg-year-cyl.tsv.
Pull requests are welcome and should be made to the dev branch.
For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.