Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrygosselin committed Mar 12, 2016
1 parent 87cbf5d commit 1da7042
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion R/assignment_ngs.R
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,12 @@ assignment_ngs <- function(data,
if ("CHROM" %in% columns.names.whitelist) {
whitelist.markers$CHROM <- as.character(whitelist.markers$CHROM)
}
if ("LOCUS" %in% columns.names.whitelist) {
whitelist.markers$LOCUS <- as.character(whitelist.markers$LOCUS)
}
if ("POS" %in% columns.names.whitelist) {
whitelist.markers$POS <- as.character(whitelist.markers$POS)
}
}

if (data.type == "haplo.file") {
Expand Down Expand Up @@ -2643,7 +2649,7 @@ Progress can be monitored with activity in the folder...")
holdout <- data.frame(holdout.individuals.list[i])
fst.ranked <- fst_WC84(data = input, holdout.samples = holdout$INDIVIDUALS)
if (imputation.method != FALSE) {
fst.ranked.imp <- fst_WC84(data = input.imp, holdout.samples = holdout$INDIVIDUALS)
fst.ranked.imp <- fst_WC84(data = gsi.prep.imp, holdout.samples = holdout$INDIVIDUALS)
}
}

Expand Down

0 comments on commit 1da7042

Please sign in to comment.