View source: R/mendel-interface.R
markers2mendel_def_lines | R Documentation |
This makes a vector of text that has carriage returns and things in it as necessary. So, to include it in a def file, if the return from this function is called D you can just do cat(D, sep = "", file = myDef.txt), for example.
markers2mendel_def_lines(df)
df |
A data frame in the format of |
Because it appears that Mendel requires unique locus names we will name them Chrom-underscore-Loc.
data(long_markers)
D <- markers2mendel_def_lines(long_markers)
cat(D[1:100], sep = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.