JEPEGMIX: gene-level joint analysis of functional SNPs in cosmopolitan cohorts
Source:R/RcppExports.R
jepegmix.RdJEPEGMIX: gene-level joint analysis of functional SNPs in cosmopolitan cohorts
Usage
jepegmix(
pop_wgt_df,
input_file,
annotation_file,
reference_index_file,
reference_data_file,
reference_pop_desc_file,
af1_cutoff = NULL
)Arguments
- pop_wgt_df
R data frame with the population abbreviation in the first column and its mixing proportion in the second, read positionally. Proportions must be non-negative; they are rescaled to sum to 1, which the mixture covariance assumes. See
data(PGC2_SCZ_ANC_Prop)for the expected shape. Note thatafmix()returns three columns, so its first column must be dropped first.- input_file
file name of GWAS summary statistics data containing rsid, chr, bp, a1, a2 and z
- annotation_file
file name of the SNP annotation data: a whitespace-delimited table with a header line and the columns
rsid,chr,bp,a1,a2,geneid,categ,wgt. Variants are matched to the study data by(chr, bp, a1, a2)in either allele order, never byrsid, sorsidmay be given as..categmust be one ofPROTEIN,TFBS,WTH_HAIR,WTH_TARGET,CIS_EQTLorTRANS_EQTL, reported in the result asPFS,TFB,STR,TAR,CISandTRNrespectively; rows carrying any other value are skipped and counted in a warning.wgtis the variant's weight within its category.- reference_index_file
file name of reference panel index data
- reference_data_file
file name of reference panel data
- reference_pop_desc_file
file name of reference panel population description data
- af1_cutoff
cutoff of reference allele, a1, frequency