Skip to content

Commit ba482fc

Browse files
authored
Write tsv with comma as decimal separator
1 parent dfaf2c8 commit ba482fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bin/join_glue_report_with_summary.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ if (nrow(glue_report) > 0) {
2424
select(-Major_minor)
2525
}
2626

27+
# Convert "." to "," as decimal separators
28+
final <- final %>%
29+
mutate(across(where(is.numeric), ~ format(., decimal.mark = ",", scientific = FALSE)))
30+
2731
# Write file
28-
write_csv2(final, file = "Genotype_mapping_summary_long_LW_import_with_glue.csv")
32+
write_tsv(final, file = "Genotype_mapping_summary_long_LW_import_with_glue.tsv")

0 commit comments

Comments
 (0)