smith-chem-wisc / MetaNetwork

9 stars 5 forks source link

Discrepancy for number of clusters #45

Open fazeliniah opened 1 day ago

fazeliniah commented 1 day ago

Hi,
I am using the Shiny version of your app and have noticed some discrepancies. In the Variance_Explained file, there are 8 clusters, but in some folders, including gProfiler_plots, there is information for 10 clusters. Additionally, there are 10 boxplots and 10 violin plots but only 8 density plots.
I’m not sure what might explain this discrepancy. I have attached some screenshots for your review.
Thanks,
Variance_Explained.csv gprofileR boxplots_MetaNetwork violin_MetaNetwork

fazeliniah commented 13 hours ago

I believe the issue is now resolved by enforcing the dir_tmp to be emptied using this code:

Ensure dir_temp is emptied

empty_tempdir <- function(dir) {
  unlink(file.path(dir, "*"), recursive = TRUE, force = TRUE)
}

Call this function to empty dir_temp before proceeding

empty_tempdir(dir_temp)