# NOT RUN {
pbmc_small
# Create a simulated grouping variable
pbmc_small@meta.data$groups <- sample(
x = c("g1", "g2"),
size = length(x = pbmc_small@cell.names),
replace = TRUE
)
FindConservedMarkers(pbmc_small, ident.1 = 0, ident.2 = 1, grouping.var = "groups")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab