Description Usage Arguments See Also
This function intends to save DE genes for presentation and
publication but not for computing. For downstream analysis, the
find_DE_genes
function would be able to save the raw output.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | save_DE_genes(
x,
save_dir,
markers = NULL,
group.by = "revised",
label = "all",
save_format = "excel",
weighting = "logFC",
cluster = "group",
gene = "feature",
show_num = 30,
value = "avgExpr",
AP = NULL,
organism_db = NULL
)
|
x |
a Seurat object |
save_dir |
where to save the results |
group.by |
a column in the meta data to group the cell types |
label |
the file name would be: '$save_dir/DE_$group.by_$label.$suffix' |
save_format |
can be 'excel' or 'gene_table' for average expression only |
weighting |
which column to arrange the genes from top to bottom |
gene |
which column stores the gene names |
show_num |
how many DE genes to save per group. If 'all', everything will be saved |
value |
which column stores the average expression |
AP |
a list that contains the |
organism_db |
a genome database, e.g. org.Hs.eg.db. It is optional unless you would like to add a ensemble ID column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.