metaGE.regplot {metaGE}R Documentation

Plot the z-score of a marker according to a covariate.

Description

The function metaGE.regplot displays the graph of the z-scores of a marker according to a covariate.

Usage

metaGE.regplot(
  Data,
  Covariate,
  EnvName,
  MarkerName,
  VarName,
  Zscore = FALSE,
  aesCol = NULL,
  Main = ""
)

Arguments

Data

A dataset containing the columns: MARKER and the z-scores of each marker (in rows) in each environment (in columns), as obtained from metaGE.collect.

Covariate

A dataset containing the values of one or more covariates (in columns) in each environment (in rows).

EnvName

The name of the column containing the names of the environment in the Covariate dataset.

MarkerName

The name of the marker.

VarName

The name of the column containing the covariable to plot.

Zscore

A boolean. If FALSE, the estimated marker effects is plotted. If TRUE, the z-scores of the marker is plotted. (FALSE by default)

aesCol

The name of the column containing a qualitative covariable to specify the color of the points. (optional)

Main

The main to display.(optional)

Value

The plot

Examples

data("metaData")
data("envDesc")
metaGE.regplot(Data = metaData, Covariate = envDesc, EnvName = "ShortName",
               MarkerName = "AX-91369217", VarName = "Tnight.mean", aesCol = "Classification")


[Package metaGE version 1.0.3 Index]