Learn R Programming

genemodel (version 1.1.0)

mutation.plot: mutation.plot

Description

This function plots mutations along genemodels created with genemodel.plot

Usage

mutation.plot(start, stop, text = "", drop = -0.15, col = "red",
  haplotypes = NULL)

Arguments

start
start position
stop
stop position
text
any text that you want displayed on the label
drop
how far below the gene model you want the mutation label to be placed
col
the color of the text and mutation line to be
haplotypes
the color of dots that you want to place along the mutation line to indicate some factor such as haplotype that the mutation belongs to

Examples

Run this code
data(AT5G62640)
genemodel.plot(AT5G62640, 25149433, 25152541, "reverse")
mutation.plot(25149593, 25149593, text="P->S", col="red", haplotype="blue")

Run the code above in your browser using DataLab