Preprocessing the data for GWAS enrichment.
GWASNorm(indir, outdir, prefix, drop_quantile = 0.1)
The directory containing the counts files obtained by the **getCountSplit** function.
The directory save the normalized data.
The prefix of save file.
GWASNorm(indir = "./gwas/indir", outdir = "./gwas_out", prefix = "Immune_Cell")
#> 2023-10-24 09:43:21 Reading counts data...
#> 2023-10-24 09:43:21 Normalizing...
#> Error in colSums(count_data[, !colnames(count_data) %in% c("chr", "start", "end")], na.rm = TRUE): 'x' must be an array of at least two dimensions