Repository navigation
LogicComm 0.13.1
Pre-release
Pre-release
LogicComm 0.13.1
Fixes
score_lr_activity()no longer fails withError in rep(FALSE, ncol(logic_mat)) : invalid 'times' argumentwhen given anything other than a
plain 2D matrix. It was the only scoring entry point that did not unwrap a
LogicCommREOResult(the output ofcalc_REO_matrix(..., return_rank = TRUE)),
so passing that object -- or a single-row/column slice that had dropped to a
vector (subset withoutdrop = FALSE), or a 1-D array -- reached an empty or
unmatched gene set and triedrep(FALSE, ncol(x))on an object with no valid
column count.score_lr_activity()now unwraps aLogicCommREOResultto its
$logicmatrix (so that common case just works) and otherwise validates that
reo_matis a 2D genes x cells matrix with row/column names, raising a clear,
actionable error instead. Regression test added.