kableResults {midasHLA} | R Documentation |
kableResults
convert results table (runMiDAS
output) to
HTML or LaTeX format.
kableResults( results, colnames = NULL, header = "MiDAS analysis results", pvalue_cutoff = NULL, format = getOption("knitr.table.format"), scroll_box_height = "400px" )
results |
Tibble as returned by |
colnames |
Character vector of form |
header |
String specifying results table header. |
pvalue_cutoff |
Number specifying p-value cutoff for results to be
included in output. If |
format |
String |
scroll_box_height |
A character string indicating the height of the table. |
Association analysis results table in HTML or LaTeX.
midas <- prepareMiDAS(hla_calls = MiDAS_tut_HLA, colData = MiDAS_tut_pheno, experiment = "hla_alleles") object <- lm(disease ~ term, data = midas) res <- runMiDAS(object, experiment = "hla_alleles", inheritance_model = "additive") kableResults(results = res, colnames = c("HLA allele" = "allele"))