Description Usage Arguments Details See Also Examples
View source: R/makeOverlap_function.R
makeSummary
returns a list with the first element (named overlap) being a list corresponding to the number of genes in mgl with each element as a vector of SNPs that overlap between the two user-defined groups. The second two elements (named snpsA and snpsB)are the user-defined groups
1 2 3 4 | makeOverlap(mgl, snpsA = c("transEqtls", "cisEqtls", "sqtlSeek",
"sqtlAltrans", "pqtl", "dnase", "gwasCatalog", "grasp"),
snpsB = c("transEqtls", "cisEqtls", "sqtlSeek", "sqtlAltrans", "pqtl",
"dnase", "gwasCatalog", "grasp"), saveFile = FALSE)
|
mgl |
List; see |
snpsA |
A character vector indicating which elements of mgl should be used to define group A - any combination of 'eqtl', 'sqtlSeek', 'sqtlAltrans', 'pqtl', 'dnase', 'gwasCatalog', 'grasp' |
snpsB |
A character vector indicating which elements of mgl should be used to define group B - any combination of 'eqtl', 'sqtlSeek', 'sqtlAltrans', 'pqtl', 'dnase', 'gwasCatalog', 'grasp' |
saveFile |
A logical flag indicating whether a csv file ('Overlap[groups].csv') should be saved in the current directory |
Provides a character vector of SNPs for each gene that appear in two different groups as defined by the user. These groups can be built from any element in mgl containing SNP information: eqtl, sqtlSeek, sqtlAltrans, pqtl, dnase, gwasCatalog, grasp. Can be used to determine those SNPs that appear as both regulatory variants and trait associated variants, for example.
Other output: makeAeiPlot
,
makeCoXpGene
,
makeCoXpTranscript
,
makeDnaseSig
, makeGoSearch
,
makeGo
, makeMultiEqtl
,
makeOverlapTable
,
makePhenotypeSearch
,
makePhenotypes
,
makeSnpSearch
, makeSnps
,
makeSummary
1 2 | exMgl() -> myMgl
makeOverlap(myMgl, snpsA = c('cisEqtls'), snpsB = c('gwasCatalog'), saveFile = TRUE) -> myOverlap
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.