This function takes haplotyped SNPs and plots them to a png file.
# S3 method for class 'haplotype.data'
plot(haplotyped.baf.file, imageFileName, samplename, chrom, chr_names)
Arguments
- haplotyped.baf.file
File containing the haplotyped SNP info.
- imageFileName
Filename as which the png will be saved.
- samplename
Name of the sample to be used in image title.
- chrom
The chromosome that is plotted.
- chr_names
A list of allowed chromosome names.