ssblup_run_time_test: Change the Siminute SNP data to 012 format

Description Usage Arguments Value Examples

Description

Change the Siminute SNP data to 012 format

Usage

1

Arguments

geno

A format that has row.name(ID), and first column is first allet of SNP(1,2)

y

A number.

Value

The sum of x and y.

Examples

1
2
3
4
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)

dengfei2013/GS documentation built on May 16, 2019, 7:29 a.m.