Description Usage Arguments Value Methods (by class) Examples
The method shows the overlapping subjects of given dbGaP variables by Venndiagram. The number of input variables is limited to five.
1 2 3 4 5 | variableVenndiagram(object, phvAccList, ...)
## S4 method for signature 'Study,character'
variableVenndiagram(object, phvAccList, ...,
saveToDir = "", showPlot = T)
|
object |
Study class object |
phvAccList |
a character vector. A list of dbGaP variable accessions. The maximum number of variable accessions accepted for the drawing is 5, so that only the first 5 variables in the input list are included in the Venndiagram. |
... |
There are optional argument. |
saveToDir |
a character string. (optional) The path to the directory where the plot PDF file is saved. If not provided, the file is saved in the 'temp' directory under the user project directory. |
showPlot |
a logical value. (optional) If TRUE (default), shows the created graph; Not show if FALSE. |
a data frame. The data used for plotting.
object = Study,phvAccList = character
: of class Study
1 2 3 4 5 6 7 | ## Not run:
s <- Study(phsAcc = 'phs000001.v3.p1')
accList = c('phv00054139.v1', 'phv00053796.v2', 'phv00000089.v2')
variableVenndiagram(s, phvAccList = accList)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.