
plotChordDiagram Plot chord diagrams based on pairwise adjacency results.
plotChordDiagram.RdplotChordDiagram Plot chord diagrams based on pairwise adjacency results.
Arguments
- object
A SpatialMap object
- nn
The name of a
nearestNeighborGraphfromobject(character).- feature
The name of a cellMetadata column (character).
- 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")- group.1
Vector of Region names, or a column name in
projectMetadataused for grouping. If aprojectMetadatacolumn name is passed,group.2should 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
projectMetadatacolumnAll regions not matching that level
- group.2
Vector of Region names. If NULL, looks in
projectMetadatafor a column name matchinggroup.1to create cohorts.- 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()- ...
Additional arguments passed to
plot_chord_diagram()- analyze
Argument passed to
.smapply. See note below on how to use this argument for sample-level analysis.