Closed moutazhelal closed 1 year ago
Hi @moutazhelal Apologies for the late reply. This function simply creates a linear model to test how expression is related to the batches and/or covariates, and then removes this relationship. This means that sometimes expression values can be negative, which obviously makes no biological sense. One quick, and maybe dirty, solution could be to change all negative values from the adjusted matrix ('custom' in your case) to 0. Hope this helps.
Dear Authors,
Thank you for reading my message.
I am using adjustGiottoMatrix to correct for batch correction and regressing covariate (nr_feats) storing The corrected matrix in custom slot
I am using
expression_values = "custom"
in all of my downstream analysis. when I runcalculateHVF
it returns a strang looking plotAm I doing something wrong? or this is how it suppose to look
Thank you very much