Skip to content

Documentation: <insert-descriptive-title>:vignettes>description mistake #9692

Open
@XanUniv

Description

@XanUniv

Issue Description

Dear editor,
in seurat->vignettes->PBMC3K-guided tutorial ->Finding differentially expressed features (cluster biomarkers)->heatmap part, there's a mistake in the description ,
the text describes:
DoHeatmap() generates an expression heatmap for given cells and features. In this case, we are plotting the top 20 markers (or all markers if less than 20) for each cluster.
however while the code writes:

pbmc.markers %>%
    group_by(cluster) %>%
    dplyr::filter(avg_log2FC > 1) %>%
    slice_head(n = 10) %>%
    ungroup() -> top10
DoHeatmap(pbmc, features = top10$gene) + NoLegend()

The text tells us that we extract 20 markers in each cluster,but the code shows we only take 10 of them.
It needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions