Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plot() doesn't handle custom edge_color and node_color #60

Open
oneilsh opened this issue Feb 7, 2025 · 0 comments
Open

New plot() doesn't handle custom edge_color and node_color #60

oneilsh opened this issue Feb 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@oneilsh
Copy link
Collaborator

oneilsh commented Feb 7, 2025

The updated plot function is having trouble changing scales to other columns.

filename <- system.file("extdata", "eds_marfan_kg.tar.gz", package = "monarchr")
g <- file_engine(filename) |>
    fetch_nodes(query_ids = "MONDO:0007525") |>
    expand(predicates = "biolink:has_phenotype",
           categories = "biolink:PhenotypicFeature")

On this example plot(g, edge_color = original_subject) produces a couple of warnings and no edge coloring, plot(g, edge_color = frequency_qualifier) no warning but all edges colored by NA.

Tagging @bschilder :)

@oneilsh oneilsh added the bug Something isn't working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant