Learn R Programming

MOJOV (version 1.0.1)

MOJOV.export: Export test result from a MOJOV class to file.

Description

Export test result from a MOJOV class to file.

Usage

MOJOV.export(x = NULL, file = "MOJOV.result.csv", p = 0.001)

Arguments

x
A "MOJOV" class, and it must be edited by MOJOV.analysis.
file
A file name, and the default value is "MOJOV.result.csv".
p
Specify the significance level, and the default value is 0.001.

See Also

MOJOV-class MOJOV.analysis

Examples

Run this code
  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)
  x<-MOJOV.phenotype(x=x)
  x<-MOJOV.analysis(x=x)
  MOJOV.export(x=x,file="example.result.csv",p=0.05)

Run the code above in your browser using DataLab