Description Usage Arguments Value Methods (by class) Examples
The method draws the correlation graphs between different categories of a categorical variable. The resulting graph is saved as PDF and PNG files.
1 2 3 4 5 | variableCorrelHeatmap(object, catPhvAcc, ...)
## S4 method for signature 'Study,character'
variableCorrelHeatmap(object, catPhvAcc = "", ...,
numPhvAccList = vector(), saveToDir = "", showPlot = T)
|
object |
Study class object. |
catPhvAcc |
a character string. The dbGaP accession of a categorical variable. |
... |
There are optional arguments. |
numPhvAccList |
a character vector. A list of the dbGaP accessions of numeric variables. |
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,catPhvAcc = character
: of class Study
1 2 3 4 5 6 7 8 | ## Not run:
s <- Study(phsAcc = 'phs000001.v3.p1')
catAcc = 'phv00000031.v2'
numAccList = c('phv00000007.v2', 'phv00053794.v2', 'phv00053786.v2', 'phv00000106.v2')
variableCorrelHeatmap(s, catPhvAcc = catAcc, numPhvAccList = numAccLlist, showPlot=T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.