makeConnections: Make a dataframe of linked studies

Description Usage Arguments Value

View source: R/processingDistances.R

Description

Make a dataframe of linked studies

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
makeConnections(
  data,
  minSize = 50,
  col = 15,
  name,
  type,
  traitMatrix,
  traits,
  color = c("red", "darkcyan"),
  shape = c("circle", "elipsis")
)

Arguments

data

A data matrix with TRUE/FALSE values

minSize

A number that defines minimum sample size: > X. 50 by default

col

An array of cg positions in the new study

name

A name of the study

type

Disease type

traitMatrix

A dataframe of studies and their traits

traits

A list of trait names to filter by

color

An array of colors to be used. First is for new and the second if for other studies. Red and darcyan by default

shape

An array of shapes for plot. Circle and elipsis by default

Value

A dataframe that is used in visNetwork


askv4694/ewasvisual documentation built on Dec. 19, 2021, 5:36 a.m.