I did a PCA analysis over 2 data set. One is a controlled cell and the other is a treated cell. Now I would love to plot two PCA analysis into one scatter plot. I explain better:
First PCA -> Scatter plot with X = pca0 and Y=pca1
Second PCA -> Scatter plot with X = pca0 and Y = pca1
All the PCA analysis needs to be into the same scatter plot to see the difference between one and the other one.
I am using a report made by some people and they did it. Unlucky I can not have the workflow.
Do you know how can I reach this plot?
Let’s say you have both your datasets in the same table, with an associated label. In my example below, I generated some random data with cluster names. I then assign colors using the Color Manager node by cluster, and use the Scatter Plot node for viz:
As you can see I want to plot PCAdim 0,1 with a color and PCAdim0,1 #1 with antoher color. How can i say to Knime to do that? It is a bit different from your example.
The scatterplot makes me choose only 2 data set…:
P.s.: the attention said only about column length. Explanation: create cluster column, filter it and append with your concatenated data. Then just managed the color and plot data. Cluster will plot the two different concatenated data set togheter.
One note: You don’t need Data Generator node to create identifiers Cluster_0 and Cluster_1 (it adds complexity as you noticed). You can use Rule Engine or Constant Value Column node prior to Concatenate node to add this information