Normalise gene scores
normalise_gene_scores.Rd
Normalises genes scores to account for the length of the input list.
Arguments
- data
Data frame in the format of
ARDSMAICR::data_genes
Details
Normalised by dividing the gene scores for each list by the length of the list.
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
Examples
if (FALSE) {
if(interactive()){
normalised_info_content_matrix <- ARDSMAICR::data_genes |>
normalise_gene_scores() |>
inf_adj_matrix(unique = FALSE)
}
}