
Annotate meta-programs with Bagaev TME subtypes
annotate_metaprograms_TME.RdAssigns each meta-program a TME subtype (IE, IE/F, F, D) by majority vote across the TCGA factors that were mapped to it.
Arguments
- meta_programs_df
Data frame output of
derive_meta_programs(), with columnsmeta_programandhallmarks.- factor_tme_df
Data frame output of
map_factors_to_TME(), with columnsfactorandbest_MFP.- factors_mp_df
Data frame output of
map_factors_to_metaprograms()run on the TCGA factors themselves, with columnsfactorandbest_MP.