Skip to content

Commit d433aa1

Browse files
authored
Fixed typo in avg_log2FC
1 parent 738e148 commit d433aa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CodingBlocks.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ The expression of marker genes across clusters are commonly viewed as dot plots
464464
require(dplyr)
465465
# Retrieve the top 5 marker genes per cluster
466466
top5 <- markers_seur %>% group_by(cluster) %>%
467-
dplyr::top_n(n = 5, wt = avg_logFC)
467+
dplyr::top_n(n = 5, wt = avg_log2FC)
468468
# Create the dot plot
469469
Seurat::DotPlot(query_seur, features = unique(top5$gene)) +
470470
ggplot2::theme(axis.text.x = ggplot2::element_text(angle = 90, vjust = 1,

0 commit comments

Comments
 (0)