Skip to content

subset an sce object by particular genotypes and boxplot/heatmap for the particular genotypes only #23

@junghpark

Description

@junghpark

I am exploring this package and having fun, thanks!

I subset my sce object (Seurat -> sce converted) for two genotypes out of four and want to show the t.test boxplot for only those two genotypes.

sce_subset <- sce[, sce$Genotype %in% c("geno1", "geno2")]

all_facts_boxes <- plot_context_boxplot(sce_subset,
sample_col = "ID",
group_col = "Genotype",
test="t.test",
paired=FALSE
)

Image

So, the genotypes that were subset out are still being displayed in the plot. Same for heatmap. Is there any way to mask them? Also, the factor numbers are 1, "10", 2, 3... when they go over 10 for boxplot & heatmap.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions