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

vertical and horizontal distortion #1

Open
schvartzman opened this issue Mar 18, 2024 · 0 comments
Open

vertical and horizontal distortion #1

schvartzman opened this issue Mar 18, 2024 · 0 comments

Comments

@schvartzman
Copy link

I love the idea behind this. Can you provide examples of use of vertical and horizontal distortion? Vertical distortion seems to require 1 less than levels included in branches but this is still giving an error.

thanks

waddingtonPlot(
branches = c(1,2,4),
horizontal_distribution = list(c(1), c(1,1), c(1,1,1,1)),
vertical_distribution = c(1,1),
vertical_distortion = list(c(1), c(1,2)), # Adjusted to two elements
ridge.colors = c("grey", "grey", "grey")
)

waddingtonPlot(
branches = c(1,2,4),
horizontal_distribution = list(c(1), c(1,1), c(1,1,1,1)),
vertical_distribution = c(1,1),
vertical_distortion = list(c(1), c(1,2)), # Adjusted to two elements
ridge.colors = c("grey", "grey", "grey")
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant