plotBinmap: Make a plot of Binmap

Description Usage Arguments Author(s) Examples

Description

Each row of the genotype data frame represents a Bin. The first column is the ID of each Bin. The second column is the chromosome ID of each Bin. The 3rd column is the start coordinate of each Bin. The 4th column is the end coordinate of each Bin. Each of the rest columns gives the genotype of each accession at different bins. The names of the rest columns can be any characters specified by the User.

Usage

1
   plotBinmap(genotype="", cols=c("red", "blue", "grey40"), ...)

Arguments

genotype

A data frame representing the genotype of a population.

cols

Colours used to indicate different genotypes.

...

parameters passed to plot.

Author(s)

Wen Yao

Examples

1
2
3
4
5
6
7
8
9
 
 ril.geno <- read.csv(system.file("examples/ril.geno.csv", package="binQTL"), as.is=TRUE)
 dim(ril.geno)
 ril.geno[1:2, 1:9]
 ## Not run
 # par(mar = c(3, 4, 1, 1))
 # plotBinmap(ril.geno, xlab="Genomic position", ylab="RILs", cex.axis=0.6)
 ## Not run
 

venyao/binQTL documentation built on June 9, 2019, 4:52 a.m.