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

plot evolution of HSAs through the iterations #2

Open
aghaynes opened this issue Aug 15, 2019 · 0 comments
Open

plot evolution of HSAs through the iterations #2

aghaynes opened this issue Aug 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@aghaynes
Copy link
Owner

Is your feature request related to a problem? Please describe.
No related to a problem.
Might be nice to have a way to plot how a HSA evolves through iterations.

Describe the solution you'd like

hsa_evol(hsa_object, "HSALabel")

image

Describe alternatives you've considered

ramp <- colorRampPalette(c("darkred", "red", "orange", "yellow", "green", "blue", "darkblue"))(14)
graphics.off()
minimap(shp, polygon = "BE", zoomout = .000000001, lab = FALSE, bcol = "black", lakes = lakes, col = "white")
mapply(function(x, y){
  plot(shp[rownames(shp@data) %in% hsa$lookups[[x]]$MedStat[hsa$lookups[[x]]$assignment == reg], ], col = y, add = TRUE)
}, x = 14:1, y = ramp)
@aghaynes aghaynes added the enhancement New feature or request label Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant