A auxiliary package for CollapsABEL.

Share:

Description

This package includes some low level functions for processing PLINK input and output files written in Java or C++. Normally you shouldn't need to directly use functions from this package.

Details

Package: collUtils
Type: Package
Version: 1.0
Date: 2015-06-12
License: GPL-3

Author(s)

Kaiyin Zhong Maintainer: Kaiyin Zhong <kindlychung@gmail.com>

References

To be updated.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
require(collUtils)
rbed_obj = rBed("test.bed")
geno = rbed_obj$readBed()
geno = getJArray(geno)
print(geno)
fn = tempfile()
f = file(fn, "wb")
writeBin("a", f)
writeBin("b", f)
writeBin("c", f)
close(f)
file.info(fn)$size == 6
truncateEndOfFile(fn, 1)

## End(Not run)