Open mikejiang opened 5 years ago
The second peak on the right for sample 7
seems to interfere the peak alignment. To eliminate this effect, simply increase the smoothing bandwidth factor (default bwFac = 2
), which is passed down to curv1Filter
.
fsN <- warpSet(x = fs, stains = "CD33.CD33-TotalA", bwFac = 3)
d1 <- densityplot(~`CD33.CD33-TotalA`, fs, main="before warpSet()", filter=curv1Filter("CD33.CD33-TotalA", bwFac = 3))
d2 <- densityplot(~`CD33.CD33-TotalA`, fsN, main="after warpSet()", filter=curv1Filter("CD33.CD33-TotalA", bwFac = 3))
Thanks @mikejiang !
I had tried this already and the problem is, when I choose bwFac = 3
, a different channel breaks. For example, here is CD4 (with bwFac = 3
):
Is there a good strategy (beyond doing it manually) to run multiple bwFrac
and then pick-and-choose which one works well for each channel?
Mark
Could you run different channels separately with different parameters?
I certainly could .. I just wonder if there is a good way to pick off, automatically, the bwFac
that works well. If someone has needed to do this before and can suggest a strategy, I'm all ears .. but if not, I/we will try and code something sensible.