View source: R/file_loading_functions.R
load_abbababa | R Documentation |
This function was developed strictly following his GitHub description of the output file. The columns in this output file are: scaffold, start, end, sites, sitesUsed, ABBA, BABA, D, fd, fdM. You can choose to plot any of the statistics, and filter windows by the number of sites used.
load_abbababa(file, stat = "D", position = "midpoint", min_sites = 0)
file |
Input file name |
stat |
Statistic(s) to keep. This can be a vector of column names. |
position |
Use the start, end, or midpoint as the position? |
min_sites |
Minimum number of sitesUsed required for window inclusion. |
A tibble.
a <- system.file("extdata", "test.abbababa.csv.gz",
package = "gwplotting")
b <- load_abbababa( a, stat = 'D' )
b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.