Description Usage Arguments Author(s) See Also Examples
Some additional details about this S4 generic and its methods. The extra blank line between this section and the title is critical for roxygen2 to differentiate the title from the description section.
1 2 3 |
x |
Input Tomahawk class. |
from |
Start position in base-pairs. |
to |
End position in base-pairs. |
colors |
Vector of colors used to plot with. These are different from |
opacity |
Logical flag/numerical value controlling opacity levels of colors. If
set to the logical |
upper |
Plot only the upper triangular of values. |
lower |
Plot only the lower triangular of values. |
really |
Logical flag to prevent plotting too many points.
Set this to |
Marcus D. R. Klarqvist <mk819@cam.ac.uk> | <https://mdrk.me>
twk_data
, twk_header
,
twk_filter
, and twk
1 2 3 4 5 6 7 8 | # This example assumes you have a Tomahawk file called "1kgp3_chr6.two" in
# your current working directory.
f<-setFilters(minR2=0.1)
twk<-openTomahawkOutput("1kgp3_chr6.two")
y<-readRecords(twk,f,"6:5e6-10e6",really=TRUE)
plotLD(y, ylim=c(5e6, 10e6), xlim=c(5e6, 10e6))
plotLD(y, ylim=c(5e6, 10e6), xlim=c(5e6, 10e6), upper = TRUE)
plotLD(y, ylim=c(5e6, 10e6), xlim=c(5e6, 10e6), lower = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.