Unused arguments error without used arguments in GSVA?
2
1
Entering edit mode
1sunmic2 • 0
@4b974839
Last seen 3 days ago
Canada

I keep running into the same error:

ssgseaparam <- ssgseaParam(
  expr = TCGA_FPKM_UQ,
  geneSets = converted_gene_sets,
)

gsva_results <- GSVA::gsva(ssgseaparam, verbose = TRUE)

And run into the error: Error in .local(gSets, ...) : unused arguments (minSize = 1, maxSize = Inf) As context, TCGA_FPKM_UQ is a numeric matrix where the row names are the gene IDs and there is no gene id column. Additionally, the converted_gene_sets is a list of enriched KEGG gene sets and their genes from KEGG enrichment analysis. I couldn't find any solutions and I don't know what to do.

Can anyone help? Willing to provide more info if needed. Thanks to anyone in advance!

GSVA • 456 views
ADD COMMENT
3
Entering edit mode
Axel Klenk ★ 1.1k
@axel-klenk-3224
Last seen 19 minutes ago
UPF, Barcelona, Spain

Hi, here is a good place to ask questions when encountering problems with GSVA.

I cannot reproduce this behaviour with the current release version 2.0.5 and my own test data, so the output of

sessionInfo()

and the original output from

gsva_results <- GSVA::gsva(ssgseaparam, verbose = TRUE)

would help us to help you.

To give us some idea about your input data you could also include the output of, e.g.,

head(TCGA_FPKM_UQ)

and

head(converted_gene_sets)

You should also remove the unnecessary comma (",") after converted_gene_sets, i.e.,

ssgseaparam <- ssgseaParam(
  expr = TCGA_FPKM_UQ,
  geneSets = converted_gene_sets
)

but since I cannot reproduce the issue I don't know if this makes any difference.

ADD COMMENT
0
Entering edit mode

It was due to the comma. Thank you!

ADD REPLY
0
Entering edit mode
jodan • 0
@ed139863
Last seen 1 day ago
Pakistan

It looks like the ssgseaParam function might not be passing the correct parameters to GSVA::gsva(). The error suggests that minSize and maxSize are not recognized in .local(). Try running gsva() directly with your inputs instead of using ssgseaParam, or check if ssgseaParam is compatible with the latest GSVA version. Let me know if you need more help!

ADD COMMENT
0
Entering edit mode

It looks like the ssgseaParam function might not be passing the correct parameters to GSVA::gsva()

Apparently because of the extra comma in the call to ssgseaParam() -- please see the comment from the OP above.

Try running gsva() directly with your inputs instead of using ssgseaParam

For the record, running gsva() "directly" has been deprecated in version 1.50.x/Bioc 3.18 (more than a year ago) and is defunct since version 1.52.x/Bioc 3.19.

The only possible and supported way of running the latest version of gsva() is by supplying a parameter object that can be created using one of gsvaParam(), ssgseaParam(), plageParam() or zscoreParam(). Please see ?gsva for more details.

ADD REPLY

Login before adding your answer.

Traffic: 678 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6