recomplexify: Helper function to account for complexes in the resources

View source: R/liana_recomplexify.R

recomplexifyR Documentation

Helper function to account for complexes in the resources

Description

Helper function to account for complexes in the resources

Usage

recomplexify(lr_res, columns, add_columns, ...)

Arguments

lr_res

decomplexified* lr_res

columns

columns to account for complexes for (obtained via the 'ScoreSpecifics' class)

...

placeholder

One could choose to do any other type of mean: geometric, TriMean, etc.

Details

to be passed before the relevant score_calc function; * decomplexified refers to complexes being broken into subunits which are then treated as seperate entities and re-assembled into complexes (or 'recomplexified') by this function

Note that we call ‘account_missing' function to assign any complex with missing subunits’s relevant columns and expression proportion to 0. This then results in the whole complex being then being filtered (by default) or considered as non-expressed.

Value

complex-accounted lr_res, with both complex and subunit genesymbols


saezlab/liana documentation built on Aug. 10, 2024, 8:14 a.m.