The function runs aggregates top correlated biomarkers to a given gene of interest and exports the list

gatherMediators(geneInt, qtlFull, numMed)

Arguments

geneInt

character, identifier for gene of interest

qtlFull

data frame, mediator-gene qtl results

numMed

numeric, user-defined maximum number of correlated mediators

Value

a vector of correlated biomarkers to be treated as mediators