
Grouped chord diagrams
plotCohortChordDiagram.Rd
Grouped chord diagrams
Arguments
- object
A SpatialMap object
- nn
The name of a
nearestNeighborGraph
fromobject
(character).- feature
The name of a cellMetadata column (character).
- group.1
Vector of Region names, or a column name in
projectMetadata
used for grouping. If aprojectMetadata
column name is passed,group.2
should be NULL. In this case, for each categorical level in the given column, two cohorts are defined:All regions matching that categorical level in the specified
projectMetadata
columnAll regions not matching that level
- group.2
Vector of Region names. If NULL, looks in
projectMetadata
for a column name matchinggroup.1
to create cohorts.- color.pal
A named vector of colors. Names correspond to unique feature values, e.g. for cell type features,
c("tumor_cell" = "red", "epithelial_cell" = "blue")
- ...
Arguments passed on to
plot_chord_diagram
start.degree
Passed to
circlize::circos.par()
cell.padding
Passed to
circlize::circos.par()
circle.margin
Passed to
circlize::circos.par()
facing
Passed to
circlize::circos.text()
adj
Passed to
circlize::circos.text()
cex
Passed to
circlize::circos.text()