generate_garnett_marker_file: Generate a Garnett marker file from top_markers output.

Description Usage Arguments Value

View source: R/find_markers.R

Description

Generate a Garnett marker file from top_markers output.

Usage

1
2
3
4
5
6
generate_garnett_marker_file(
  marker_test_res,
  file = "./marker_file.txt",
  max_genes_per_group = 10,
  remove_duplicate_genes = FALSE
)

Arguments

marker_test_res

Tibble of top markers, output of top_markers.

file

Path to the marker file to be generated. Default is "./marker_file.txt".

max_genes_per_group

Numeric, the maximum number of genes to output per cell type entry. Default is 10.

remove_duplicate_genes

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.

Value

None, marker file is written to file parameter location.


cole-trapnell-lab/monocle3 documentation built on April 8, 2021, 5:54 a.m.