Skip to content

Commit

Permalink
logR
Browse files Browse the repository at this point in the history
  • Loading branch information
tf2 committed Mar 16, 2023
1 parent efd829a commit a619356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rbin/R/Rbin.R
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ return(data.frame(index, data, ref_med_cov, matched_med_cov, mismatched_med_cov)
batch_get_references_to_rbin <- function(index_file, gender_file, rbin_dir,
cor_dir, bin_dir, batch_size = 1000, target_files_size, start_pos, cor_cut = 0.9, skip_em=FALSE) {
gens = read.table(gender_file, header=T)
sample_names =as.character(gens[start_pos:(start_pos-target_files_size)-1,1])
sample_names =as.character(gens[start_pos:((start_pos-target_files_size)-1),1])
for(x in 1:length(sample_names)) {
sample_name = sample_names[x]
data = get_references_return(sample_name, index_file, gender_file, cor_dir, bin_dir, batch_size, cor_cut, skip_em)
Expand Down

0 comments on commit a619356

Please sign in to comment.