Skip to contents

Returns the total number of unique genes or SNPs included in MAIC.

Usage

count_genes(data)

Arguments

data

Data frame in the format of ARDSMAICR::data_genes

Value

An integer

Details

Input columns for data_genes should be (this is the standard output of the MAIC algorithm):

  • gene - HGNC gene symbol - chr

  • 1...

  • uID - Study unique identifier. Column contains study specific gene score - dbl

  • n...

  • maic_score - MAIC score for gene - dbl

  • contributors - Studies contributing to MAIC score by method - chr

Examples

if (FALSE) {
if(interactive()){
 count_genes(ARDSMAICR::data_genes)
 }
}