-
Notifications
You must be signed in to change notification settings - Fork 10
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
WarpSET:Error in contrast #34
Comments
Can you provide an example of your code that is failing (ideally with available data). I can see the changes from the example in the doc even after removing the two lines you point out:
Additionally, |
Dear Jacob,
I get this error which I can't really understand why it's happening.
|
Thanks, now I can see the issue. The error is coming from Line 708 in 336f98f
because whole groups do not have an estimate for the landmark. Those NAs get imputed to the column means below: Lines 722 to 723 in 336f98f
For example, single NA's are tolerable here:
But not NA for every member of a group (as then
However, I just need to add a guard to that earlier block checking the within-group variance vs between-group variance so it doesn't pass down a broken formula to |
@bioguy2018 , after 96eaf10, this case should be handled so you should not get the obscure
As was the case before, that landmark value will be imputed to the mean value based on all samples here: Lines 722 to 723 in 336f98f
Let me know if you still run in to further problems. |
Dear Jacob, |
To your first question, while you could technically normalize with To your second question, we are just not actively working on |
Dear Jacob, |
Did you install from GitHub or Bioconductor? The change I made is only available from GitHub so far:
I'll be merging it to Bioconductor today so it should appear in their 3.12 development builds in a few days. |
Dear Jacob,
I have read it can happen due to the noisiness of data, i also tried to transform and truncate my data but still the same error! Do you have any suggestion in that regards? Sorry for the big issue and I really appreciate your kind help |
Dear All, I have been trying to apply the warpset() for normalization to correct the batch effect among my channels but unfortunately I am getting the following error:
I tried to run the function using the ITN dataset as guided through the documentation and I realized I get the same error when I skip the following chunk as I don't want to do any pregating and just want the normalization to be applied on all data
lg <- lymphGate(dat, channels=c("CD3", "SSC"), preselection="CD4",scale=1.5) dat <- Subset(dat, lg$n2gate)
I couldn't fine any specific differneces between the datasets after and before running the above code! can someone help me what's wrong with the contrast?
Thanks a lot!
The text was updated successfully, but these errors were encountered: