changeset 10:6c93244a36e2 draft

Uploaded
author greg
date Wed, 05 Dec 2018 11:31:49 -0500
parents 8f2f346a5e1c
children c755744296ca
files multilocus_genotype.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/multilocus_genotype.R	Tue Dec 04 13:44:12 2018 -0500
+++ b/multilocus_genotype.R	Wed Dec 05 11:31:49 2018 -0500
@@ -77,7 +77,7 @@
 gind <- new("genind", (as.matrix(gl)));
 
 # Add population information to the genind object.
-poptab <- read.table(opt$input_pop_info, check.names=FALSE, header=F, na.strings=c("", "NA"), stringsAsFactors = FALSE);
+poptab <- read.table(opt$input_pop_info, check.names=FALSE, header=F, na.strings=c("", "NA"), stringsAsFactors=FALSE, sep="\t");
 colnames(poptab) <- c("row_id", "affy_id", "user_specimen_id", "region");
 gind@pop <- as.factor(poptab$region);