Count number of genes by gene list
genes_per_list.Rd
Returns the number of unique genes or SNPs identified in each gene list.
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
Examples
if (FALSE) {
if(interactive()){
print(genes_per_list(ARDSMAICR::data_genes), n = 50)
}
}