plotMissing {SNPassoc} | R Documentation |
Plot of missing genotypes
Description
Plot a grid showing which genotypes are missing
Usage
plotMissing(x, print.labels.SNPs = TRUE,
main = "Genotype missing data", ...)
Arguments
x |
an object of class 'setupSNP' |
print.labels.SNPs |
should labels of SNPs be printed? |
main |
title to place on plot |
... |
extra arguments of 'image' function |
Details
This function uses 'image' function to plot a grid with black pixels where the genotypes are missing.
Value
No return value, just the plot
See Also
Examples
data(SNPs)
data(SNPs.info.pos)
ans<-setupSNP(SNPs,colSNPs=6:40,sep="")
plotMissing(ans)
# The same plot with the SNPs sorted by genomic position and
# showing the information about chromosomes
ans<-setupSNP(SNPs,colSNPs=6:40,sort=TRUE,SNPs.info.pos,sep="")
plotMissing(ans)
[Package SNPassoc version 2.1-0 Index]