Learn R Programming

polyqtlR (version 0.1.1)

visualiseGIC: Visualise Genotypic Information Coefficient

Description

Function to visualise the GIC of a certain region

Usage

visualiseGIC(
  GIC_list,
  add_rug = TRUE,
  add_leg = FALSE,
  ylimits = NULL,
  gic.cex = 1,
  show_markers = TRUE,
  add.mainTitle = TRUE,
  plot.cols = NULL
)

Value

The phased map data for the specified region, recoded into 1's and 0's.

Arguments

GIC_list

List of GIC data, the output of estimate_GIC

add_rug

Should original marker positions be added to the plot?

add_leg

Should a legend be added to the plot?

ylimits

Optional argument to control the plotting area, by default NULL

gic.cex

Option to increase the size of the GIC

show_markers

Should markers be shown?

add.mainTitle

Should a main title be added to the plot?

plot.cols

Optional argument to specify plot colours, otherwise suitable contrasting colours are chosen

Examples

Run this code
data("GIC_4x")
visualiseGIC(GIC_list = GIC_4x)

Run the code above in your browser using DataLab