yezhengSTAT / ADTnorm

ADTnorm normalizes the cell surface protein measurement of CITE-seq data, facilitating across batches and across studies data integration.
https://yezhengstat.github.io/ADTnorm/articles/ADTnorm-tutorial.html
GNU General Public License v3.0
22 stars 4 forks source link

fix adt_marker_select subset when using quantile_clip #14

Open ansonrel opened 7 months ago

ansonrel commented 7 months ago

Hi, When quantile_clip is set to non-default (<1), there is a problem with the way that cell_x_adt is subset. As far as I understand, it is a matrix but is subset like a list, leading to

Error in `*tmp*`[[adt_marker_select]] : subscript out of bounds