aggregate_exposures_by_category {YAPSA} | R Documentation

## Aggregate exposures by category

### Description

If a valid category (i.e. it matches to a category specified in in_sig_ind_df) is supplied, then the exposures are aggregated over this category.

### Usage

    aggregate_exposures_by_category(in_exposures_df, in_sig_ind_df, in_category)

### Arguments

`in_exposures_df` | Input data frame of exposures.
`in_sig_ind_df` | Input data frame of meta information on the signatures. Has to match the signatures in `in_exposures_df`
`in_category` | Category to be aggregated over

### Value

A list with entries:

- `exposures`: The exposures `H`, a numeric data frame with `l` rows and `m` columns, `l` being the number of aggregated signatures and `m` being the number of samples

- `norm_exposures`: The normalized exposures `H`, a numeric data frame with `l` rows and `m` columns, `l` being the number of aggregated signatures and `m` being the number of samples

- `out_sig_ind_df`: Data frame of the type `signature_indices_df`, i.e. indicating name, function and meta-information of the aggregated signatures..

### See Also

`LCD_complex_cutoff`

### Examples

     NULL

[Package YAPSA version 1.12.0 Index]