We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
In https://github.com/vitessce/vitessceR/blob/main/R/config.R#L210, we only should be unboxing scalar values, not lists/vectors.
To Reproduce
Try to set cellSetColor coordination value,
cellSetColor
vc$link_views( c(scatterplot_pca, scatterplot_tsne), c(CoordinationType$CELL_SET_COLOR), c_values = list(list(obj_list(path = c("Cell Type Annotations", "Astrocyte", "Astrocyte Gfap"), color = as.vector(col2rgb("blue"))))) ) in json_remote.Rmd vignette
json_remote.Rmd
Throws Error: only atomic vectors of length 1 or data frames with 1 row can be unboxed.
Error: only atomic vectors of length 1 or data frames with 1 row can be unboxed.
Expected behavior No error.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
In https://github.com/vitessce/vitessceR/blob/main/R/config.R#L210, we only should be unboxing scalar values, not lists/vectors.
To Reproduce
Try to set
cellSetColor
coordination value,vc$link_views(
c(scatterplot_pca, scatterplot_tsne),
c(CoordinationType$CELL_SET_COLOR),
c_values = list(list(obj_list(path = c("Cell Type Annotations", "Astrocyte", "Astrocyte Gfap"),
color = as.vector(col2rgb("blue")))))
)
in
json_remote.Rmd
vignetteThrows
Error: only atomic vectors of length 1 or data frames with 1 row can be unboxed.
Expected behavior
No error.
The text was updated successfully, but these errors were encountered: