
Calculate study contributions
contributions_calculation.RdCalculates the raw and relative information an contribution of studies to MAIC.
Arguments
- data
Data frame in the format of
ARDSMAICR::data_genes
Details
Input columns for data_genes should be (this is the standard output of the MAIC algorithm):
gene- HGNC gene symbol - chr1...
uID- Study unique identifier. Column contains study specific gene score - dbln...
maic_score- MAIC score for gene - dblcontributors- Studies contributing to MAIC score by method - chr
Definitions:
raw_information= sum of gene scores for each studyrelative_information=raw_information/sum of all gene scores in MAICraw_contribution= sum of gene scores for each study which contribute to the MAIC scorerelative_contribution=raw_contribution/sum of all gene scores in MAIC contributing to the MAIC score
Examples
if (FALSE) {
if(interactive()){
contributions_calculation(ARDSMAICR::data_genes)
}
}