PlotLollipop: PlotLollipop

View source: R/plotting.R

PlotLollipopR Documentation

PlotLollipop

Description

An Internal function for PlotDMEsLollipop to Plotting function for the results of FindDMEs and FindAllDMEs

Usage

PlotLollipop(modules, cur_DMEs, pvalue, avg_log2FC = "avg_log2FC")

Arguments

pvalue

p_value or fdr used for the comparison in the DMEs dataframe

seurat_obj

A Seurat object

DMEs

dataframe output from FindDMEs or FindAllDMEs

group.by

the column name of the selected comparison in the DMEs dataframe

comparison

character vector or a list of character vectors containing the comparison in the DMEs dataframe

Value

A ggplot object

Examples

plot_list <- PlotLollipop(modules, DMEs, cur_title= c("Group1_vs_Group2"), pvalue, avg_log2FC = 'avg_log2FC')

smorabit/hdWGCNA documentation built on Oct. 23, 2024, 11:19 p.m.