Generate a Garnett marker file from top_markers output.
generate_garnett_marker_file(
marker_test_res,
file = "./marker_file.txt",
max_genes_per_group = 10,
remove_duplicate_genes = FALSE
)
Tibble of top markers, output of
top_markers
.
Path to the marker file to be generated. Default is "./marker_file.txt".
Numeric, the maximum number of genes to output per cell type entry. Default is 10.
Logical indicating whether marker genes that mark multiple cell groups should be excluded. Default is FALSE. When FALSE, a message will be emitted when duplicates are present.
None, marker file is written to file
parameter location.