arnesmits / DEP

DEP package
27 stars 12 forks source link

plot_heatmap function not working as data_results gives 0 significant proteins #40

Open ahsenu00 opened 7 months ago

ahsenu00 commented 7 months ago

I believe there's a bug in the DEP package, as I manage to get as far as the PCA, and am able to plot individual proteins as bar plots which show significance, but the data_results %>% filter(significant) %>% nrow() line results in 0, and when I run the plot_heatmap function plot_heatmap(dep, type = "centered", kmeans = TRUE, k = 6, col_limit = 4, show_row_names = FALSE, indicate = c("condition", "replicate")) I get: Error in sample.int(m, k) : invalid first argument

Please can someone help?