Closed corecontingency closed 11 months ago
Hi @corecontingency,
Thank you for your interest in our package and for posting this issue.
I just updated the function CARD.visualize.prop() with an option to provide the user to change the point size. You can either directly source the ./R/visualization.R code, or re-install CARD package. Then you can add one argument pointSize in the CARD.visualize.prop() function to change the point size. For example,
p2 <- CARD.visualize.prop(
proportion = CARD_obj@Proportion_CARD,
spatial_location = CARD_obj@spatial_location,
ct.visualize = ct.visualize,
NumCols = 4,
pointSize = 2)
Let me know if it does not work. Thank you!
Best, Ying
For our dataset, graphing the results of (the below commands were pulled from the tutorial):
using this command:
has the following output image:
As you can see, all the spots are overlapping. It is unclear how to reduce the size of the generated spots. Checking the man page of the function (with ?CARD.visualize.prop) shows no command to change the size of spots.
I also tried the below command:
However, this just produces a new set of black spots (that do respect the geom_point setting) on top of the old data, without altering the size of the spots I actually want to change! See below:
How do I change the size of the spots?