
Create gt table of LFMM results
lfmm_table.RdCreate gt table of LFMM results
Usage
lfmm_table(
df,
sig = 0.05,
sig_only = TRUE,
top = FALSE,
order = FALSE,
var = NULL,
rows = NULL,
digits = 2,
footnotes = TRUE
)Arguments
- df
df element from
lfmm_runresults- sig
alpha level for determining candidate snps (defaults to 0.5)
- sig_only
only include SNPs that exceeded the significance threshold in the table (defaults to TRUE)
- top
if there are SNPs that are significantly associated with multiple environmental variables, only display the top association (i.e., variable with the maximum B value; defaults to FALSE)
- order
if TRUE, will order rows by decreasing B value (defaults to FALSE and orders rows based on variable)
- var
display significant SNPs associated with particular environmental variable (defaults to NULL)
- rows
number of rows to include in table (defaults to NULL)
- digits
number of decimal points to include (defaults to 2)
See also
Other LFMM functions:
lfmm_df(),
lfmm_do_everything(),
lfmm_manhattanplot(),
lfmm_qqplot(),
lfmm_run(),
lfmm_test_tidy(),
quick_elbow(),
select_K()