Calculate cell type-trait associations
Source:R/get_ct_trait_associations.R
get_ct_trait_associations.Rd
Calculate cell type-trait associations
Arguments
- sscore
A dgeMatrix of seismic specificity scores where each column is a cell type and row names are gene identifiers. (Note: the identifiers used should match those used in the MAGMA input)
- magma
A data.frame or file path to MAGMA output for a particular GWAS with at least 2 columns: gene identifiers and z-scores.
- magma_gene_col
A character string corresponding to the column name in the MAGMA data containing gene identifiers. Defaults to 'GENE' from the MAGMA output.
- magma_z_col
A character string corresponding to the column name in the MAGMA data containing z-scores. Defaults to 'ZSTAT' from the MAGMA output.