permuteAllelesInGenosDose | R Documentation |
Permute alleles in genotypes once alleles have been permuted in the corresponding haplotypes.
permuteAllelesInGenosDose(X, snps.toperm, verbose = 0)
X |
matrix of bi-allelic SNP genotypes encoded, for each SNP, in number of copies of its second allele, i.e. as allele doses in 0,1,2, with genotypes in rows and SNPs in columns; the "second" allele is arbitrary, it can be the minor or the major allele |
snps.toperm |
vector of SNP identifiers corresponding to the SNPs to which allele permutation will be performed (column names of |
verbose |
verbosity level (0/1) |
matrix of genotypes
Timothee Flutre
permuteAllelesInHaplosNum
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.