Skip to content

relationship heatmap and biotext embedding with gemini #8

@hernandezvargash

Description

@hernandezvargash

Dear developers,
Congratulations on this useful package.
I'm testing the workflow with the example dataset.
Traditional similarity works nicely until the plot_relationship_heatmap, where I'm getting this error:

Error in data.frame(from = object@merged_pathway_go$module_result$module, :
arguments imply differing number of rows: 463, 0

I tested with both, ora_expression_dt and gsea_expression_dt. Am I doing something wrong?

I also tested the biotext embedding similarity. It doesn't work with my Gemini API key and the model "models/gemini-embedding-001".

Error in map():
ℹ In index: 1.
Caused by error in t.default():
! argument is not a matrix
Run rlang::last_trace() to see where the error occurred.
Warning message:
In value[3L] :
Failed to get embedding after 3 retries:The after callback to req_retry() must return a single number or NA, not FALSE.

I still need to test it with OpenAI, but I'd appreciate any hints to make it work with gemini.

Thanks a lot,
Hector

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions