when using ggcyto, the "fill" function of ggplot does not work. It's not recording the variable in "fill" and indicating that it's not found resulting in an error.
sample code:
library(ggcyto)
library(flowCore)
library(ncdfFlow)
library(flowAssist)
# Convert the matrix into a flowFrame object
ff <- DFtoFF(DATA[c("Median.var1", "Median.var2", "Median.var3")])
# Create a flowSet object from the flowFrame
fs <- flowSet(ff)
# Create a plot using ggcyto
p <- ggcyto(fs, aes(x = Median.var1, y = Median.var2)) +
geom_point(aes(fill = Median.var3)) +
labs(x = "Median Intensity - var1",
y = "Median intenisty - var2") +
ggtitle("var1 vs var2- Median")
sample error:
Error in `geom_point()`:
! Problem while computing aesthetics.
i Error occurred in the 1st layer.
Caused by error in `FUN()`:
! object 'Median.var3' not found
when using ggcyto, the "fill" function of ggplot does not work. It's not recording the variable in "fill" and indicating that it's not found resulting in an error.
sample code:
sample error: