Closed domi84 closed 1 year ago
Hi @domi84 Apologies for my delayed response. The correction in step II is often a smaller adjustment. A heatmap will not really show difference between dsb with or without step II, since this is adjusting cell to cell variations and the mean values will probably be similar. You could look at the differences when doing some protein-protein correlations to get a feel for the the changes in cell to cell variation that this step has. In particular, values of a single protein within a single cell type at the cell to cell level, for example. In this particular dataset it does look like step II has a relatively small effect, based on a few cells you showed, but the values are different and those differences and the larger differences you might see in other cells are due to removal of technical cell to cell variations.
Hello, thanks for this interesting package, I am just using the code https://cran.r-project.org/web/packages/dsb/vignettes/end_to_end_workflow.html on a dataset I have to see what difference it can make. But I realized that having the option (denoise.counts = TRUE, use.isotype.control = TRUE) or (denoise.counts = FALSE, use.isotype.control = FALSE) return a very similar result...which surprise me .
This
takes longer time to run, and return: [1] "correcting ambient protein background noise" [1] "some proteins with low background variance detected check raw and normalized distributions. protein stats can be returned with return.stats = TRUE" [1] "Hu.CD48" "Hu.CD11c" "Hu.CD31" "Hu.CD62L" "Hu.CD36" [1] "fitting models to each cell for dsb technical component and removing cell to cell technical noise"
| Hu.CD86while this:
is very quick, and return: [1] "Not running dsb step II (removal of cell to cell technical noise) Setting use.isotype.control and isotype.control.name.vec to FALSE and NULL" [1] "potential isotype controls detected: " [1] "Isotype_MOPC.21" "Isotype_MOPC.173" "Isotype_MPC.11" "Isotype_RTK4530" [5] "Isotype_RTK2071" "Isotype_G0114F7" "Isotype_RTK2758" "Isotype_RTK4174" [9] "Isotype_HTK888"
| Hu.CD86[1] "correcting ambient protein background noise" [1] "some proteins with low background variance detected check raw and normalized distributions. protein stats can be returned with return.stats = TRUE" [1] "Hu.CD48" "Hu.CD11c" "Hu.CD31" "Hu.CD62L" "Hu.CD36"
which is different of course, but surprising similar, even the heatmaps looks identical Also FeaturePlot/VlnPlot looks very similar
Am I doing anything wrong? Thanks