Thank you! And if I would like to make the parameter list how would I make it? If I have a list of parameters:
param <- list('nPerm=10000','minGSSize=10','maxGSSize=100')
And give it to the function:
gse_bp <- do.call(gseGO, list(geneList=data[[1]],
ont ="BP",
keyType = "ENTREZID",
pvalueCutoff = 1,
OrgDb = config$organism_org,
pAdjustMethod = config$pAdjustMethod,
param))
I still get an error:
Error in abs(stats)^gseaParam : non-numeric argument to binary operator
I guess its because in the list the format is not correct for a parameter, but how can I make it work?