View source: R/summarize_data.R
Calculate the number of individuals, runs, loci, etc for a data frame. This function could be applied to either a raw dataframe or a filtered data frame. A table output is produced by this function, for graphical output see plot_run_statistics() in this package.
1 | summarize_data(datafile, group_var)
|
datafile |
dataframe of microhaplotype data in long format. This can be filtered or unfiltered data. For example, unfiltered data such as hap_raw or filtered data such as long_genos can be used. |
group_var |
Column(s) to summarize input data by. This could be sequencing run, individual.ID, locus, etc. This must be a quoted column name or a character vector of column names. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.