plotMissing | R Documentation |
Plot a grid showing which genotypes are missing
plotMissing(x, print.labels.SNPs = TRUE, main = "Genotype missing data", ...)
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 |
This function uses 'image' function to plot a grid with black pixels where the genotypes are missing.
No return value, just the plot
setupSNP
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.