-
Notifications
You must be signed in to change notification settings - Fork 44
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
How to call combat.py with no covariates #1
Comments
Hi @FrancescoBrundu I added a change that should allow you to do this. See the last 2 lines of the file for example use. |
Thanks for your effort. I am unable to test it now, I will try out ASAP. Thanks |
Thanks @brentp .. It works flawlessly. More extensive result: Index: 54675 entries it gives an error of maximum 0.000652714183843. def combat(dat, batch, mod=None, numCovs=None) and changing line 42 to if mod is not None and mod: # maybe this one is better but I am not really sure about it Anyway great work so far, I am looking forward to see new ported versions of R script if you have the time. 👍 |
Hi Hi, I am using Combat to correct the effect of different scanners on radiomics features, and I found python version of Combat here. But I do have an error when running it. My data is in Dataframe (7341,97) and my batch is in Series (97), but I have a ValueError: num_columns must be an int?? Thanks:) |
Hi,
I am trying to use your script passing an expression matrix in dat and a sample information file on batch.. I do not want to pass any covariate, but I do not know how to do it.. how can I achieve this?
Thanks
The text was updated successfully, but these errors were encountered: