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

Add a shortcut for selecting multiple annotations #8

Open
karoliskoncevicius opened this issue May 4, 2024 · 0 comments
Open

Add a shortcut for selecting multiple annotations #8

karoliskoncevicius opened this issue May 4, 2024 · 0 comments

Comments

@karoliskoncevicius
Copy link
Owner

Right now selecting multiple annotations from row or column metadata can only be done via colanns():

library(annmatrix)
example(annmatrix)  # to get a workable X annmatrix object for demo

colanns(X, c("id", "name"))

However, it would be convenient to access the same using a shortcut, like with X$name. One idea is to do this via a string:

X$'id,name'
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