mildpiggy / DEP2

An r package for proteomics data Analysis, developed from DEP.
Other
14 stars 2 forks source link

```impute()``` with zero values #7

Closed cathalgking closed 4 months ago

cathalgking commented 4 months ago

I would like to just replace any missing values with 0 when using the impute() function. Can this be done with the below code? The function reference page does not specify this.

imputed_MLE <- impute(norm, fun = "zero")
mildpiggy commented 4 months ago

Yes. You can specify the DEP2::impute to avoid the confusion of functions with the same name (could from other packages).

imputed_zero <- DEP2::impute(norm, fun = "zero")
cathalgking commented 3 months ago

Hi @mildpiggy That makes sense thanks. Just to confirm, DEP2 cannot correct for batch effects in proteomics data? I have 6 plates that I would like to correct for technical effects if any. Can you recommend a package that can do this?

mildpiggy commented 3 months ago

@cathalgking DEP2 cannot correct the batch effects cross experiments. You can try other tools for this job. Maybe you can begin from statTarget as i said https://github.com/mildpiggy/DEP2/issues/4#issuecomment-2063578307. However, as far as I can remember, this tool requires an old version of R.