View source: R/analyze_dataset.R
sort_results | R Documentation |
Rearrange rows in the summary data frame and corresponding entries in the per-sample data frames list, matching locus order given in locus attributes. The Locus column of the summary data frame will be set to a factor to preserve the defined order. Only levels remaining in that set are kept.
sort_results(results, locus_attrs)
results |
results list as produced by |
locus_attrs |
data frame of locus attributes as produced by
|
list of results, with summary
set to the single summary data frame
and data
the per-sample data frames. summary$Locus
is coerced to a
factor with levels ordered according to their appearance in
locus_attrs$Locus
. Order of rows in summary
and entries in data
are
updated accordingly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.