zentnerlab / TSRexploreR

Other
2 stars 11 forks source link

Add pos/negative components to shift scores #175

Closed dajmcdon closed 3 years ago

dajmcdon commented 3 years ago

This should add the ability to do positive and negative components.

  1. Note, signs have been flipped. You may need to adjust the user-facing R function
  2. The core cpp function allTheShiftScores() now returns a (4 x ntests) matrix (rather than 2 before).
  3. The rows are: (shiftscore; p-value; positive; negative) first two are the same as before.
  4. Added tests for the never-called internal functions.
  5. Made minor adjustments to allTheShiftScores() but I can't test it. Should work, but please check.
  6. Added MAKEVARS files for installation.