as_four_state_gbm: Convert 6-state to 4-state GBM scores

View source: R/as_four_state_gbm.R

as_four_state_gbmR Documentation

Convert 6-state to 4-state GBM scores

Description

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.

Usage

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.


jlaffy/scalop documentation built on March 24, 2024, 9 a.m.