complex_upset_plot: UpSet plot visualize the number of unique and shared DEGs...

View source: R/plot_upset.R

complex_upset_plotR Documentation

UpSet plot visualize the number of unique and shared DEGs across group

Description

This function takes Seurat object as input and visualize the genes that are unique to a particular group or shared by multiple group.

Usage

complex_upset_plot(seu_obj, celltype, group, logfc = 0.5, min_size = 1)

Arguments

seu_obj

A complete Seurat object.

celltype

The cell type to analyze.

group

Group factor in meta data.

logfc

Log fold change to select the DEGs

min_size

Minimal number of observations in an intersection for it to be included

Value

An UpSet plot


HaojiaWu/plot1cell documentation built on Nov. 13, 2023, 9:20 a.m.