Skip to content

How to customize the order of groups within the FeatureStatPlot function #245

Open
@jphe

Description

@jphe

Hi,

I am currently using the FeatureStatPlot function from the SCP package. I would like to know how to customize the order of groups within this function. I have tried using the method to change the order in Seurat, but it doesn't seem to work.

bellow is my code:

[email protected] <- [email protected]$celltype 
levels(adata)

tmp <- adata
My_levels <- c('2C','Morula','ICM','TE','Epi','PrE','VE')
Idents(tmp) <- factor(Idents(tmp), levels= My_levels)

levels(Idents(tmp))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions