marker_select | R Documentation |
decide for one gene whether it is a marker for a certain cell type
marker_select(row1, cols, cut = 1, compto = 1)
row1 |
a numeric vector of expression values (row) |
cols |
a vector of cell types (column) |
cut |
an expression minimum cutoff |
compto |
compare max expression to the value of next 1 or more |
vector of cluster name and ratio value
pbmc_avg <- average_clusters(
mat = pbmc_matrix_small,
metadata = pbmc_meta,
cluster_col = "classified",
if_log = FALSE
)
marker_select(
row1 = pbmc_avg["PPBP", ],
cols = names(pbmc_avg["PPBP", ])
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.