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

problem with pre-processing (normalization) #8

Open
isglobal-brge opened this issue Jan 16, 2022 · 3 comments
Open

problem with pre-processing (normalization) #8

isglobal-brge opened this issue Jan 16, 2022 · 3 comments

Comments

@isglobal-brge
Copy link

isglobal-brge commented Jan 16, 2022

I got this error:

> library(RadAR)
> lung1_rdr <- normalize_feature_values(rdr = lung1_rdr, 
+                                 which_data = "scaled")
Error in t.default(data) : argument is not a matrix

Do you know what I am doing wrong?

@matteobenelli
Copy link
Contributor

matteobenelli commented Jan 18, 2022

Hi, have you scaled data first with

lung1_rdr <- scale_feature_values(lung1_rdr)

@isglobal-brge
Copy link
Author

Thanks, this was the problem.. The error message is not useful at all ... I would recommend you to check whether the input object is the required one. I know this is more coding, but it will help end users

@matteobenelli
Copy link
Contributor

Agree, will be added soon.

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

2 participants