Skip to content

Commit 4492790

Browse files
committed
Remove meta form param names
1 parent df65712 commit 4492790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/differentialabundance_report.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if (!file.exists(file_path)) {
8484
stop("Versions file does not exist at: ", file_path)
8585
}
8686
versions <- unlist(yaml.load_file(file.path(params$input_dir, params$versions_file)), recursive = FALSE)
87-
params_table <- data.frame(Parameter = sub("^meta\\.params\\.", "", names(unlist(params))), Value = unlist(params), row.names = NULL)
87+
params_table <- data.frame(Parameter = sub("^meta\\.(params\\.)?", "", names(unlist(params))), Value = unlist(params), row.names = NULL)
8888
8989
# We'll subset the params table for different report sections
9090
make_params_table <- function(name, pattern = NULL, remove_pattern = FALSE){

0 commit comments

Comments
 (0)