Closed SGMartin closed 1 year ago
The issues lies in the fact that
ssc <- GetCollection(SSc, n.genes = 100, include.pathways = TRUE)
returns a signature sig-20965 whose values cannot be calculated for any cell in PBMC, thus returning NaN. When bcScore tries to center a missing vector, in line 172:
scaled.matrix <- t(apply(bc@normalized, 1, scales::rescale, to = c(0, 1)))
An error is returned.
Closed in #77