[Genabel-commits] r926 - pkg/GenABEL/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jun 26 22:56:20 CEST 2012
Author: lckarssen
Date: 2012-06-26 22:56:20 +0200 (Tue, 26 Jun 2012)
New Revision: 926
Modified:
pkg/GenABEL/R/impute2databel.R
Log:
Minor spelling fixes in warning and comment.
Modified: pkg/GenABEL/R/impute2databel.R
===================================================================
--- pkg/GenABEL/R/impute2databel.R 2012-06-19 18:22:43 UTC (rev 925)
+++ pkg/GenABEL/R/impute2databel.R 2012-06-26 20:56:20 UTC (rev 926)
@@ -4,7 +4,7 @@
#' this function converts IMPUTE-imputed files to DatABEL (filevector) format
#' containing estimated dosages.
#' After conversion, two files (outfile.fvi and outfile.fvd), corresponding
-#' to single filevector object, will appear on the disk; 'databel-class'
+#' to a single filevector object, will appear on the disk; a 'databel-class'
#' object connected to these files will be returned to R.
#'
#' @param genofile IMPUTE genotype file name
@@ -119,7 +119,7 @@
temp <- scan(samplefile,what="character",nlines=1,skip=2)
if((length(l1)!=length(temp)) || (length(temp)!=length(l2))){
- warning("Wrong number of words in sample file's header.");
+ warning("Wrong number of words in sample file header.");
}
samnames <- scan(samplefile,what="character",skip=2)
@@ -164,4 +164,4 @@
}
#!print("at return")
return(dosefile)
-}
\ No newline at end of file
+}
More information about the Genabel-commits
mailing list