The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
R package pedMermaid generates Mermaid syntax for creating a pedigree flowchart in Markdown and R Markdown, from a pedigree data frame.
You can install the development version of pedMermaid like so:
This is a basic example of a pedigree flowchart created by the Mermaid syntax generated by the R package pedMermaid.
library(pedMermaid)
ped <- data.frame(ID = 1:7,
SIRE = c(0, 0, 1, 0, 3, 0, 5),
DAM = c(0, 0, 2, 2, 4, 0, 6))
x <- mermaid_md(ped)
# cat(x, sep = "\n") # Display the output syntax on-screen
flowchart TB
1 & 2 --> 3
2 --> 4
3 & 4 --> 5
5 & 6 --> 7
R package pedMermaid is equipped with functions mermaid_md
and mermaid_rmd
for generating Mermaid flowchart syntax for Markdown and R Markdown, respectively. The syntax generated by mermaid_rmd
is also applicable to Markdown. However, the syntax is more restricted (less customizations) and less compact. The mermaid_md
function provides the following customizations:
mermaid_rmd
)mermaid_rmd
)mermaid_rmd
)mermaid_rmd
)mermaid_rmd
)These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.