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

.doByLabels throws an error if each object has its own label #1

Closed
sgibb opened this issue Jan 24, 2013 · 0 comments
Closed

.doByLabels throws an error if each object has its own label #1

sgibb opened this issue Jan 24, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@sgibb
Copy link
Owner

sgibb commented Jan 24, 2013

To reproduce:

library("MALDIquant")
data(fiedler2009subset)
MALDIquant:::.doByLabels(fiedler2009subset[1:4], labels=1:4, function(x)x[[1]])

Error message:

Error in `split<-.default`(`*tmp*`, f, drop = drop, value = value) :
  object of type 'S4' is not subsettable
@ghost ghost assigned sgibb Jan 24, 2013
sgibb added a commit that referenced this issue Jan 24, 2013
@sgibb sgibb closed this as completed Jan 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant