[Genabel-commits] r2060 - pkg/MultiABEL/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Dec 16 14:55:23 CET 2016


Author: sharapovsodbo
Date: 2016-12-16 14:55:23 +0100 (Fri, 16 Dec 2016)
New Revision: 2060

Modified:
   pkg/MultiABEL/R/MultiSummary.R
Log:
Fixed problem with marker name stored as "Factor" in output of MultiSummary function

Modified: pkg/MultiABEL/R/MultiSummary.R
===================================================================
--- pkg/MultiABEL/R/MultiSummary.R	2016-10-12 07:54:45 UTC (rev 2059)
+++ pkg/MultiABEL/R/MultiSummary.R	2016-12-16 13:55:23 UTC (rev 2060)
@@ -83,7 +83,8 @@
 		k <- nrow(x$gwa)
 	}
 	dimnames(betamat) <- list(NULL, NULL)
-	res <- data.frame(marker = rownames(x$gwa), freq = f, n = n)
+	res <- data.frame(marker = rownames(x$gwa), freq = f, n = n,
+		stringsAsFactors=FALSE)
 	rownames(res) <- rownames(x$gwa)
 	if (type != 'direct') {
 		bnames <- paste0('beta.cond.', rownames(x$cor.pheno))



More information about the Genabel-commits mailing list