Do enrichment analysis with GWAS variants.
GWASEnrichment(euclideanNorm_file, snp, trait, output_path)
The euclideanNorm file obtained by **GWASNorm** function.
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.
The traits name you want to set.
The path to save the enrichment results.
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