write_results.MAST: Write MAST model fitting results to file(s)

Description Usage Arguments

Description

Output file(s) with results from MAST model fitting

Usage

1
2
3
4
5
write_results.MAST(lfc_result,
                   write_full_results=TRUE,
                   write_sigGenes=TRUE, thresholds.adj.P.Val=0.05,
                   write_topGenes=TRUE, n_topGenes=100,
                   file_prefix, test_id)

Arguments

lfc_result

The fit results, generally the output of MASTtools::getModelResults.MAST

write_full_results

logical, whether to output the full results data frame to a file. Defaults to TRUE.

write_sigGenes

logical, whether to output a list of the genes with adjusted p-values below a threshold. Defaults to TRUE.

thresholds.adj.P.Val

numeric, a vector of adjusted p-value thresholds to use for gene significance cutoffs. One file is generated for each threshold value. Defaults to 0.05. Ignored if write_sigGenes == FALSE

write_topGenes

logical, whether to output a sorted list of the genes with strongest significance. Defaults to TRUE.

n_topGenes

numeric, a vector of numbers of most significant genes to output. One file is generated for each threshold value. Defaults to 100. Ignored if write_topGenes == FALSE

file_prefix

character, the path to the file location. "MAST_..." will be appended to it.

test_id

character, the name of the model test, to be included in the filename.


mjdufort/MASTtools documentation built on June 29, 2019, 4:01 p.m.