R: Plot of missing genotypes

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

None

### See Also

`setupSNP`

### 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 1.9-2 Index]