Skip to content

Commit

Permalink
fix phase/data
Browse files Browse the repository at this point in the history
when geno=TRUE in seqBGEN2GDS()
  • Loading branch information
zhengxwen committed Jan 31, 2023
1 parent e68af91 commit d88482d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions R/gds2bgen.r
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,10 @@ seqBGEN2GDS <- function(bgen.fn, out.fn, storage.option="LZMA_RA", float.type=
}
if (geno) {
varnm <- c(varnm, c(
"genotype/data",
"genotype/@data",
"genotype/extra.index",
"genotype/extra"
))
"genotype/data", "genotype/@data",
"genotype/extra.index", "genotype/extra",
"phase/data",
"phase/extra.index", "phase/extra" ))
}

if (verbose) cat("Merging:\n")
Expand Down
2 changes: 1 addition & 1 deletion src/R_gds2bgen.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// R_SeqArray.c: Link to the gdsfmt package
// R_gds2bgen.c: Link to the gdsfmt package
//

#include <R_GDS.h>
Expand Down

0 comments on commit d88482d

Please sign in to comment.