hbc/bcbioSingleCell

Ensure metadata factor columns get releveled

mjsteinbaugh opened this issue · 1 comments

In the per sample clustering step of analysis, getting some warnings about joins by sampleID having a factor level mismatch. Fix this in the code by releveling all factor columns after selectSamples() call.

To fix this, just make sure that droplevels() is called across the functions that define factor levels, after data subsets.