knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
# install.packages("devtools") devtools::install_github("mailund/graphparse")
Parsing a qpGraph file:
test_graph <- readr::read_file("data-raw/Basic_OngeEA_wArch.graph") g <- graphparse::read_qpgraph(test_graph) plot(g)
attr(g, "admixture_proportions")
Parsing a dot file:
test_graph <- readr::read_file("data-raw/Basic_OngeEA_wArch.dot") g <- graphparse::read_dot(test_graph) plot(g)
attr(g, "admixture_proportions")
test_graph <- readr::read_file("data-raw/test1.graph") g <- graphparse::read_qpgraph(test_graph) plot(g) attr(g, "admixture_proportions")
test_graph <- readr::read_file("data-raw/BosGraph.dot") g <- graphparse::read_dot(test_graph) plot(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.