ji.ds.heatmapplot: Generates a heatmap plot for merged datasets

Description Usage Arguments Value Author(s) Examples

Description

Generates a heatmap plot for merged datasets

Usage

1
2
3
  ji.ds.heatmapplot(datasources = NULL, xvect = NULL,
    yvect = NULL, type = "combine", show = "all",
    numints = 20)

Arguments

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as dataframe, from opal datasources.

xvect

a numerical vector

yvect

a numerical vector

type

a character which represents the type of graph to display. If type is set to 'combine', a combined heatmap plot displayed and if type is set to 'split', each heatmap is plotted separately.

show

a character which represents where the plot should focus If show is set to 'all', the ranges of the variables are used as plot limits If show is set to 'zoomed', the plot is zoomed to the region where the actual data are

numints

a number of intervals for a density grid object

Value

a heatmap plot

Author(s)

Isaeva, J. and Gaye, A.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{
# load the file that contains the login details
data(logindata)

# login and assign the required variables to R
myvar <- list("LAB_TSC","LAB_HDL")
opals <- datashield.login(logins=logindata,assign=TRUE,variables=myvar)

# Example1: generate a combined heatmapplot
ji.ds.heatmapplot(datasources=opals, quote(D$LAB_TSC), quote(D$LAB_HDL), type="combine")

# Example2: generate a heatmapplot where each study is plotted seaparately
ji.ds.heatmapplot(datasources=opals, quote(D$LAB_TSC), quote(D$LAB_HDL), type="split")

# Example3: generate a heatmapplot with a less dense drid
ji.ds.heatmapplot(datasources=opals, quote(D$LAB_TSC), quote(D$LAB_HDL), type="split", numints=15)
}

datashield/ji.dev.cl documentation built on May 14, 2019, 7:52 p.m.