Description Usage Arguments Value
The function ReadGRMBin
was taken from
http://cnsgenomics.com/software/gcta/estimate_grm.html
and was only slightly modified, but in essence
the function here does the same thing. Given three
files which have names starting with the same prefix,
a list with the diagonal elements, the offdiagonal
elements and the ids is returned
1 | ReadGRMBin(prefix, AllN = F, size = 4)
|
prefix |
common prefix of input files |
AllN |
flag indicating whether to read 1 line (FALSE) or n(n+1)/2 lines from file prefix.N.bin |
size |
wordsize that is passed to readBin |
list with diagonal elements, offdiagonals, ids and total number of individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.