Closed Weide12 closed 8 months ago
Hi @Weide12. I guess you are following the tutorial... color_clusters
is a variable you must create, it's not predefined within.
It's a vector with a length equal to your number of clusters:
color_cluster <- c("red", "black", "green", ...)
(and so on until have so many as clusters you have)
Thanks jgarces. This helped me. I still have some issues: 1, when run my 20 color data, "qc.and.removeDoublets" report "can not allocate 1535Gb vector"; 2, "dr.plotting" Error in melt.data.table(as.data.table(drmd), measure.vars = no.omit.markers, : 'measure.vars' one or more value is invalid; 3, in heatmap plot can i order the column by condition or patient_id. Thanks.
I'm glad you solved this problem.
omit.markers
options.clustering.method = NULL
.Regarding your second question, I already faced that problem, when you do not specify color.by
on dr.plotting.
It has to do with how your markers are named. If you have dashes (i.e. CD3-PE) on your marker names it gives that error
Indeed, @mlorenzm fixed this issue @Weide12. Maybe you can try to install the developmental version?
I tried to install the developmental version using this command : devtools::install_github("jgarces02/FlowCT"), it returned an error: Error: Failed to install 'FlowCT' from GitHub: ! System command 'Rcmd.exe' failed
Try: devtools::install_github("paiva-s-lab/FlowCT@develop")
Another option is to change your marker's names to something readable by R, as @mlorenzm indicates.
If you have dashes (i.e. CD3-PE) on your marker names it gives that error
Can not find object "colors = color_clusters"