plot spatial plot of transcripts within chosen cells, colored by score, facet by cell_ID
Usage
plotSpatialScoreMultiCells(
chosen_cells,
cell_labels,
transcript_df,
cellID_coln = "CellId",
transID_coln = "transcript_id",
score_coln = "score",
spatLocs_colns = c("x", "y"),
point_size = 0.1,
plot_discrete = FALSE,
title = NULL
)
Arguments
- chosen_cells
the cell_ID of chosen cells
- cell_labels
title labels for each cell's spatial plot
- transcript_df
the data.frame of transcript_ID, cell_ID, spatial locations
- cellID_coln
the column name of cell_ID in transcript_df
- transID_coln
the column name of transcript_ID in transcript_df
- score_coln
the column name of score in transcript_df
- spatLocs_colns
column names for 1st, 2nd dimension of spatial coordinates in transcript_df
- point_size
marker size for transcript spot in fig (default = 0.1)
- plot_discrete
flag to plot transcript score in discrete color
- title
the text title for plot