plotDAbeeswarm.RdVisualize DA results as a beeswarm plot
plotDAbeeswarm(da.res, group.by = NULL, alpha = 0.1, subset.nhoods = NULL)
| da.res | a data.frame of DA testing results |
|---|---|
| group.by | a character scalar determining which column of |
| alpha | significance level for Spatial FDR (default: 0.1) |
| subset.nhoods | A logical, integer or character vector indicating a subset of nhoods to show in plot (default: NULL, no subsetting) |
a ggplot object
The group.by variable will be coerced to a factor. If you want the variables in group.by to be in a given order make sure you set the column to a factor with the levels in the right order before running the function.
NULL#> NULL