variableVenndiagram: Subject overlapping with Venndigram

Description Usage Arguments Value Methods (by class) Examples

Description

The method shows the overlapping subjects of given dbGaP variables by Venndiagram. The number of input variables is limited to five.

Usage

1
2
3
4
5
variableVenndiagram(object, phvAccList, ...)

## S4 method for signature 'Study,character'
variableVenndiagram(object, phvAccList, ...,
  saveToDir = "", showPlot = T)

Arguments

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.

Value

a data frame. The data used for plotting.

Methods (by class)

Examples

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)

jameslhao/dbgapr_dev documentation built on May 8, 2019, 11:03 p.m.