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
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?