R/differential_expression.R
comparedeg_scatter.Rd
Generate a scatter plot of fold changes comparing two differential expression results, e.g. w/wo adjusting for cell proportion differences.
comparedeg_scatter(
results1,
results2,
result_names = NULL,
fc_cutoff,
pval_cutoff,
pvalflag = TRUE,
interactive = FALSE
)
a data.frame containing differential expression results with five columns: "Gene name", "log2 fold change", "log2 average expression",
"p value", "adjusted p value". The second element of the output from function run_de
.
similar to results1
.
a vector of length 2 indicating the names of the two differential results. If NULL, names will be set to c("results1", "results2")
fold change cutoff to identify differential expressed genes.
p value cutoff to identify differential expressed genes.
a logical value indicating whether to use adjusted p value in selecting differential expressed genes.
a logical value indicating whether to generate an interactive plot.
See examples from run_de
.