Description Usage Arguments Value Examples
Change the Siminute SNP data to 012 format
1 | snp_trans_012_for(geno)
|
geno |
A format that has row.name(ID), and first column is first allet of SNP(1,2) |
y |
A number. |
The sum of x
and y
.
1 2 3 4 5 | gg <- data.frame(V1 = c(1,1,2,2,1,2,1,2),V2 = c(1,1,2,2,1,2,1,2),V3 = c(2,1,2,2,1,1,2,1),V4=round(runif(8,1,2)),V5=round(runif(8,1,2)),V6=round(runif(8,1,2)))
row.names(gg) <- paste("ID",1:8,sep="")
gg
snp_trans_012(gg)
snp_trans_012_for(gg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.