YosefLab/scone

Allow multiple covariates

Opened this issue · 3 comments

The user should be able to adjust for other (categorical and continuous) covariates in addition to batch.

I assume that this means allowing any design matrix of technical covariates (maybe with some convenience functions for common cases)? If so, it should be allowed also for the bio covariates.

Yes. It should allow an arbitrary number of covariates to be removed and an arbitrary number of covariates to be preserved.

The plan is to add a single covariate for the moment. To do this:

  • Add the adjust_covariate=c("no", "yes", "force") argument
  • Modify parse_row() and make_design()
  • Modify scone()