
Count number of genes by category
genes_per_category.RdReturns the number of unique genes or SNPs identified by each category defined in MAIC.
Arguments
- data_study
Data frame in the format of
ARDSMAICR::data_study- data_genes
Data frame in the format of
ARDSMAICR::data_genes
Details
Input columns for data_study should be:
id- Integer 1 to n studies - dblFirst_author- First author family name - chrArticle_title- Article title - chrYear- Year of publication - dblJournal- Journal - chrDOI- Digital object identifier - dblPMID- PubMed ID - dbluID- Unique ID. Format isFirst_Author Year PMID- chrMethod- Study method e.g., "GWAS" - chrTechnology- Technology used e.g., "Microarray" - chrTissue- Tissue type sampled e.g., "BALF" - chrCell- Cell type sampled e.g., "Neutrophils" - chrFocusStudy focus e.g., "Susceptibility" - chrARDS_pts- Total number of patients with ARDS included in study - dblARDS_definition- Definition of ARDS used in study - chrList_available- Was the gene list associated with the study retrievable - lgl
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()){
genes_per_category(ARDSMAICR::data_study, ARDSMAICR::data_genes)
}
}