Description Usage Arguments Author(s) See Also Examples
Reading genotype and phenotype and generating a "MOJOV" class.
And it can read another phenotype for a existing "MOJOV" class.
1 2 |
x |
If x is null, it will need both genotype and phenotype file, or x should be a "MOJOV" class and it only need phenotype file, see detials. |
genofile |
Specify genotype file name. |
phenofile |
Specify phenotype file name. |
indelfile |
Specify insert and delete variants file name, it is optional. |
header |
Specify whether the file contains a head line. |
column |
Which column phenotype will be read. This column is not include the previous 5 columns. The default value is 1. |
... |
You can specify other arguments here. |
Ke-Hao Wu
1 2 3 4 5 6 7 8 | #Reading both genotype and phenotype files.
file1<-system.file("data","geno.csv.gz",package="MOJOV")
file2<-system.file("data","phen.csv.gz",package="MOJOV")
x<-MOJOV.read(genofile=file1,phenofile=file2)
#Reading phenotype and switch different phenotype column to analysis.
x #x is a existing "MOJOV" class. The phenotype is R_13_AREA.
x<-MOJOV.read(x=x,phenofile=file2,column=2) #The phenotype is _13_BMD.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.