gcount_to_gvec | R Documentation |
Converts genotype counts to genotype vectors.
gcount_to_gvec(gcount)
gcount |
The vector of genotype counts. |
A vector of length sum(gcount)
, containing gcount[1]
copies of 0
, gcount[2]
copies of 1
, gcount[3]
copies of 2
, etc.
David Gerard
gvec_to_gcount()
gcount <- c(1, 2, 3, 0, 5)
gcount_to_gvec(gcount = gcount)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.