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

Re-Assignment of Sample Ids fails #274

Open
alexg9010 opened this issue Jan 13, 2023 · 0 comments
Open

Re-Assignment of Sample Ids fails #274

alexg9010 opened this issue Jan 13, 2023 · 0 comments

Comments

@alexg9010
Copy link
Collaborator

alexg9010 commented Jan 13, 2023

> getSampleID(methylRawList.obj) <- c("1","2","3","4")
Error in asMethod(object, Class, value) :
  c("the computation: 'as(object,\"vector\") <- value' is valid when object has class “list” only if 'is(value, \"vector\")' is TRUE ('class(value)' was “matrix”)\n", "the computation: 'as(object,\"vector\") <- value' is valid when object has class “list” only if 'is(value, \"vector\")' is TRUE ('class(value)' was “array”)\n")

Note: The error message could be improved too.

> getSampleID(methylRawList.obj) <- c(1,2,3,4)
Error in (function (cl, name, valueClass)  :
  assignment of an object of class “numeric” is not valid for @‘sample.id’ in an object of class “methylRaw”; is(value, "character") is not TRUE
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