Closed beyondpie closed 1 month ago
Hi Kai, From the codes below, https://github.com/kaizhang/SnapATAC2/blob/942f056a9c7612eb06db1d2596eb89475a0fb818/snapatac2-python/python/snapatac2/tools/_diff.py#L128 it seems that current diff_test does not accept covariates? If I want to get cell-type specific peaks, what will the null model be? A logistic regression without any features except a 1 ?
Thanks! Songpeng
Use cell_group1 and cell_group2 to compare two cell groups at a time. covariates current is not implemented. It is used to regress out additional cofounding factors. It is easy to add.
cell_group1
cell_group2
covariates
Hi Kai, From the codes below, https://github.com/kaizhang/SnapATAC2/blob/942f056a9c7612eb06db1d2596eb89475a0fb818/snapatac2-python/python/snapatac2/tools/_diff.py#L128 it seems that current diff_test does not accept covariates? If I want to get cell-type specific peaks, what will the null model be? A logistic regression without any features except a 1 ?
Thanks! Songpeng