Skip to content

Commit

Permalink
fixed adding 0s and uploaded files
Browse files Browse the repository at this point in the history
  • Loading branch information
hechth committed Oct 30, 2023
1 parent 6671f5e commit cc2f6d2
Show file tree
Hide file tree
Showing 3 changed files with 302,785 additions and 2 deletions.
3 changes: 1 addition & 2 deletions analysis/R_scripts/add_zeros.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ add_zeros <- function(out_file, match_file, reference_file, simulated_file, quer
zero_scores <- rbind(zero_scores, new_row)
}
}

names(zero_scores) <- names(match_file)

names(zero_scores) <- c(query, reference, scores, matches)
match_file <- rbind(match_file, zero_scores)
write.table(match_file, file = out_file)
}
Expand Down
Loading

0 comments on commit cc2f6d2

Please sign in to comment.