Preprocessing the data for GWAS enrichment.

GWASNorm(indir, outdir, prefix, drop_quantile = 0.1)

Arguments

indir

The directory containing the counts files obtained by the **getCountSplit** function.

outdir

The directory save the normalized data.

prefix

The prefix of save file.

Examples

   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