Do enrichment analysis with GWAS variants.

GWASEnrichment(euclideanNorm_file, snp, trait, output_path)

Arguments

euclideanNorm_file

The euclideanNorm file obtained by **GWASNorm** function.

snp

The SNPs list. It consists of two columns, the first being the chromosome and the second the position. Tabs between the two columns and no header.

trait

The traits name you want to set.

output_path

The path to save the enrichment results.

Examples

   GWASEnrichment(euclideanNorm_file = "Immune_Cell_counts_normToMax_quantileNorm_euclideanNorm.txt",
                             snp = "test.snp", trait = "test", output_path = "./")
#> Warning: cannot open file 'Immune_Cell_counts_normToMax_quantileNorm_euclideanNorm.txt': No such file or directory
#> Error in file(file, "rt"): cannot open the connection