-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi There,
My apologies for posting these two issues (see my other post about wildcards). This is the other issue I found in the plot_feature_importance.R file.
When I run:
snakemake --cores 2 --configfile config/test.yaml
The following error is given:
Error in rule plot_feature_importance:
jobid: 9
input: results/otu-micro/feature-importance_results.csv
output: figures/otu-micro/feature_importance.png
log: log/otu-micro/plot_feature_importance.txt (check log file(s) for error details)
The log reads:
Error in group_by()
:
! Must group by variables found in .data
.
✖ Column names
is not found.
Backtrace:
Here my quick fix solution was to rename column 6 in feat_df as "names:" colnames(feat_df)[6] <- "names"
This renames the feat column names, and then outputs the correct feature importance plot.
Any feedback on these issues would be greatly appreciated!