6 states: MES1, MES2, NPC1, NPC2, AC, OPC. 4 states: MES, NPC, AC, OPC. X1/2 are converted to X simply by taking the maximum score of the two columns.

as_four_state_gbm(scores)

Arguments

scores

dataframe of cell (rows) scores for the GBM meta-modules (columns).

Value

the same dataframe with the MES1 and MES2, and NPC1 and NPC2 columns collapsed to MES and NPC respectively.