Learn R Programming

SCIntRuler (version 0.99.6)

PlotSCIR: Plot SCIntRuler

Description

Plot SCIntRuler

Usage

PlotSCIR(fullcluster, seuratlist, testres, legendtitle = NULL, title = NULL)

Value

A ggplot2 object

Arguments

fullcluster

A list of clusters that generated by the function GetCluster.

seuratlist

A list of Seurat objects, usually can be got by SplitObject().

testres

Result from function PermTest()

legendtitle

Title of legend, default to be NULL

title

Title of figure, default to be NULL

Examples

Run this code
# \donttest{
data(sim_data_sce)
data(sim_result)
sim_data <- SCEtoSeurat(sim_data_sce)
seuratlist <- Seurat::SplitObject(sim_data, split.by = "Study")
PlotSCIR(sim_result[[1]], seuratlist, sim_result[[4]])
# }

Run the code above in your browser using DataLab