CoMM implement the model CoMM, CoMM-S2 and CoMM-S4.

CoMM(
  Model = "Individual",
  file1 = NULL,
  file2 = NULL,
  file3 = NULL,
  file4 = NULL,
  file5 = NULL,
  file6 = NULL,
  Cov1 = NULL,
  Cov2 = NULL,
  R1 = NULL,
  R2 = NULL,
  whCol = 1,
  bw = 5e+05,
  lam = 0.95,
  paral = FALSE,
  coreNum = 1
)

Arguments

Model

an character specifying which model to run. "Individual" indicates the model using individual eQTL and GWAS data. "Summary" indicates the model using individual eQTL and summary GWAS data. "Trans" indicates the model using both eQTL and GWAS data with different reference panel for eQTL and GWAS data. "Shared" indicates the model using both eQTL and GWAS data with the shared reference panel.

file1

is the name of transcriptome genotype file.

file2

is the name of transcriptome gene expression file.

file3

is the name of GWAS plink file.

file4

is the name of the summary-level transcriptome data.

file5

is the name of complementary summary-level transcriptome data.

file6

is the name of summary-level GWAS data.

Cov1

is the name of corvariates for transcriptome.

Cov2

is the name of corvariates for GWAS.

R1

is the name of reference panel for transcriptome.

R2

is the name of reference panel for GWAS.

whCol

is an integer specifying which column of phenotype. The default is 1.

bw

is an integer specifying the number of downstream and upstream SNPs that are considered as cis-SNP within a gene. The default is 500000.

lam

is a positive number specifying the shrinkage intensity for reference panel. The default is 0.95.

paral

is a logical value specifying whether to run the model in parallel. The default is FALSE.

coreNum

is an integer specifying the number of cores for parallel. The default is 1.

Value

a list, We briefly explain the output of the CoMM.

Details

CoMM implement the model CoMM, CoMM-S2 and CoMM-S4.