| xQTLanalyze_coloc | R Documentation | 
xQTLanalyze_getTraitsConduct colocalization analysis with trait genes generated from xQTLanalyze_getTraits
xQTLanalyze_coloc(
  gwasDF,
  traitGene,
  geneType = "auto",
  genomeVersion = "grch38",
  tissueSiteDetail = "",
  study = "gtex_v8",
  mafThreshold = 0.01,
  population = "EUR",
  gwasSampleNum = 50000,
  method = "coloc",
  token = "9246d2db7917",
  bb.alg = FALSE
)
| gwasDF | A data.frame or data.table objectof gwas. | 
| traitGene | A gene symbol or a gencode id (versioned). | 
| geneType | (character) options: "auto","geneSymbol" or "gencodeId". Default: "auto". | 
| genomeVersion | "grch38" (default) or "grch37". Note: grch37 will be converted to grch38 automatically. | 
| tissueSiteDetail | (character) details of tissues in GTEx can be listed using  | 
| study | (character) name of studies can be listed using "ebi_study_tissues" | 
| mafThreshold | Cutoff of maf to remove rare variants. | 
| population | Supported population is consistent with the LDlink, which can be listed using function "LDlinkR::list_pop()" | 
| gwasSampleNum | Sample number of GWAS dataset. Default:50000. | 
| method | (character) options: "coloc"(default) or "hyprcoloc" (must be updated to the latest version from the github to use hyprcoloc ). Package  | 
| token | LDlink provided user token, default = NULL, register for token at https://ldlink.nci.nih.gov/?tab=apiaccess | 
| bb.alg | For  | 
A list of coloc result and details.
url1 <- "http://bioinfo.szbl.ac.cn/xQTL_biolinks/xqtl_data/gwasDFsub_MMP7.txt"
gwasDF <- data.table::fread(url1)
output <- xQTLanalyze_coloc(gwasDF = gwasDF, traitGene= "MMP7", tissueSiteDetail="Prostate")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.