Description Usage Arguments Details Value Author(s) References See Also Examples
epsout.ld.snp
takes an object of snp.matrix
class and a given
snp range and depth, draw a eps file to visualize the LD in the same color scheme
as haploview's default view. It was the first prototype of
this bunch of software. Also, it does not keep any pair-wise data
in memory at all, and maybe more suitable where the actual pair-wise
LD data is not needed.
1 | epsout.ld.snp(snpdata, filename, start, end, depth, do.notes=FALSE)
|
snpdata |
An object of |
filename |
The file name of the output, preferably ending with ".eps", but this rule not enforced |
start |
The index of the start of the range of interest. Should be between 1 and (N-1) |
end |
The index of the end of the range of interest. Should be between 2 and N. |
depth |
The depth or lag of pair-wise calculation. Should be between 1 and N-1 |
do.notes |
Boolean for whether to generate pdf annotation-related code |
The functinality of this routine has since been split into a two-stage
processes involving ld.snp
which generates a
snp.dprime
object which contains the result of the
pairwise LD calculation, and plot.snp.dprime
(or the
plot
method of a snp.dprime
object) which does the drawing.
return nothing
Hin-Tak Leung htl10@users.sourceforge.net
Clayton, D.G. and Leung, Hin-Tak (2007) An R package for analysis of
whole-genome association studies.
Human Heredity 64:45-51.
GSL (GNU Scientific Library) http://www.gnu.org/software/gsl/
The postscript language reference manual:
http://www.adobe.com/products/postscript/pdfs/PLRM.pdf
The pdf specification:
http://partners.adobe.com/public/developer/en/pdf/PDFReference16.pdf
snp.dprime-class
, ld.snp
,
plot.snp.dprime
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.