Closed denvercal1234GitHub closed 1 year ago
Yes, looks all good to me. Completely ignoring marker_class
es always work if you just pass the features to use (e.g., for dimensionality reduction, clustering) / visualize to the respective function. You can also double check this by looking at rowData(sce)
; there should be logical column indicating which features have been used for clustering. And, of course, in visualizations you should see that only the specified features
appear. As long as that's all good, I don't see any issues and you're safe.
Thank you very much @HelenaLC for your prompt response. I did as described above (clustering using "backboneMarkers_clustering), but this time for the CATALYST::plotExprHeatmap
I set features = NULL
to just visualise all "markers" which include some non-marker parameters, e.g., FCS_file_name (which is a string), but the colouring in the heatmap still show gradation. You know why this is?
Should I not include these non-marker parameters in the visualisation? I thought I can cluster with a set of markers, then visualise whatever markers from the resulting clusters (they do not have to be just the markers used for clustering).
Hi there,
I exported channel values from FlowJo as input into R and did the following. I want to cluster using "backboneMarkers_clustering" vector of markers, but visualise for another vector of vectors "visualising_markers".
Would you mind advising me whether the codes are correct? I want to ensure only "backboneMarkers_clustering" vector was used for clustering, and "visualising_markers" vector was used for visualising in
plotExprHeatmap
. I do not want the "FCS_file_name", "matchingFCStarget", etc. (which are in myrownames(F37_channelCD3CD8_fcs_data_sce)
to be used in clustering.Thank you for your help!
In my
prepData
, I setFACS = T
as below.So my row names contain markers I want to use for clustering, e.g., "TIM4.XGBoost", "CD134", but there are others I do not want to be used for anything especially clustering or differential discovery, e.g., "FlowSOM_cluster_backbone12" but want to keep them there for visualisation later.
Then, because I still have issued with
marker_class
as mentioned in #347 , I decided to specifyfeatures
with a vector of markers I want to use for clustering incluster
.Then I want to plot a heatmap of the vector markers "visualising_markers".