The Nuclei information is useless for visualization, i needed it before to classify samples into sampleType :) i tried your code, but there's a problem for data$variable, because it outputs only NAs. Can you explain me what are you trying to do there?
Many thanks! edit: I solved! Data$variable is already a factor, so that row of the code is useless! Thank you very much again.

Do you have to use R?