Skip to content

Commit

Permalink
fix bug in calling gls method
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhy2000 committed Feb 5, 2018
1 parent 20a5f09 commit 77f6f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 52 deletions.
3 changes: 2 additions & 1 deletion pkg/R/fg.gls.R
Expand Up @@ -103,7 +103,8 @@ gls.fgwas <- function( sect.idx, snp.idx, snp.mat, pheY, pheZ, pheX=NULL, interc

cpu.fun<-function( sect )
{
requireNamespace("nlme");
## !dont use requireNamespace()
library("nlme");

if( (sect-1)*n.percpu+1 > NROW(snp.mat) )
return(NULL);
Expand Down
51 changes: 0 additions & 51 deletions test/fg_bmi.R

This file was deleted.

0 comments on commit 77f6f6d

Please sign in to comment.