ebecht / infinityFlow

25 stars 8 forks source link

Background correction error #3

Closed sschepanski closed 2 years ago

sschepanski commented 2 years ago

Hey Etienne, currently, we are trying to analyze the data that we acquired with the InfinityFlow pipeline. I tried everything to hunt down the error but I still receive it: Background correcting Fehler in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : 0 (non-NA) cases

Do you have an idea where the error might come from?

Much appreciated, Steven

ebecht commented 2 years ago

Hi Steven,

I think this usually happens if the "Isotype" of one of the antibodies does not match any of the "targets" (because we need the isotype to be measured somewhere for background correction).

Can you check isotypes[!isotypes %in% targets] ? If it returns anything that's probably the source of your problem. There can be hard to detect errors (like dashes that are different characters or some blank characters at the end of the strings...).

Hopefully this helps! Please let me know otherwise Etienne

sschepanski commented 2 years ago

Hey Etienne, it worked! Thanks for your support! :-)

Very much appreciated, Steven

ebecht commented 2 years ago

Glad to hear it worked. I'll make sure to add a check to detect these errors more explicitly.

I'm closing the issue but feel free to reopen or start another one if needed!

Best, Etienne

sschepanski commented 2 years ago

Hey Etienne, I thought it is easier to ask my question here again.

I am now in the training session and constantly get this error during the Linear and polynomial models part. Error: cannot allocate vector of size 401.6 MB. Do you have an advice of how to solve it?

Much appreciated, Steven