Description Usage Arguments Value See Also
Read haplotype data, selected by region of interest, from PLINK formatted files or ShapeIt output files
1 2 | read.haplo(type = "bed", filename, map, chr = 0, startpos = 0,
endpos = 0)
|
type |
character, |
filename |
character, path to input file containing haplotype data |
map |
object, data.frame contains 3 columns: rsID, chromosome,
position in bp as output by e.g. |
chr |
character, chromosome number (basically from 1 to 22 as used by Plink), on which the region of interest is located |
startpos |
numeric, start position (in bp, base pairs) of the region of interest (default: 0) |
endpos |
numeric, end position (in bp, base pairs) of the region of interest (default: 0) |
matrix object containing the haplotypes selected by the region of interest
read.haplo.pedfile
,
read.haplo.bedfile
,
read.haplo.shapeit_haps
,
readMapFile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.