ctl (version 1.0.0-0)

image.CTLobject: Plot genome-wide CTL on multiple traits

Description

Plot the CTL for genome-wide CTL on multiple traits (the output of CTLscan).

Usage

# S3 method for CTLobject
image(x, against = c("markers","phenotypes"), significance = 0.05,
col=whiteblack, do.grid=TRUE, grid.col = "white", verbose = FALSE, add=FALSE, 
breaks = c(0, 1, 2, 3, 10, 10000), marker_info, …)

Arguments

x

An object of class "CTLscan", as output by CTLscan.

against

Plot which interaction matrice, options are: markers: the phenotype*marker or phenotypes: the phenotype*phenotypes matrix.

significance

Significance threshold to set a genome wide False Discovery Rate (FDR).

col

Color-range used in plotting.

do.grid

When TRUE, grid lines are added to the plot.

grid.col

Color used for the grid lines, only used when do.grid = TRUE.

verbose

Be verbose.

add

Add this plot to a previously opened plot window.

breaks

See par.

marker_info

Information used to plot chromosome lines.

Passed to the function image when it is called.

Value

For a detailed description, see CTLprofiles

Details

None.

See Also

Examples

Run this code
# NOT RUN {
  library(ctl)
  data(ath.result)       # Arabidopsis Thaliana results
  #Phenotype to phenotype matrix
  p2p_matrix <- image(ath.result, against="phenotypes")
  #Phenotype to marker matrix
  p2m_matrix <- image(ath.result, against="markers")
# }

Run the code above in your browser using DataLab