cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-328877%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EEtichettatura%20dei%20punti%20dati%20in%20PCA%20Biplot%20in%20base%20a%20una%20caratteristica%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328877%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ECarissimi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%C3%A8%20possibile%20etichettare%20i%20punti%20dati%20in%20un%20biplot%20mostrato%20in%20B%20da%20alcune%20caratteristiche%20definite%20in%20JMP%3F%3C%2FP%3E%3CP%3EVoglio%20dire%2C%20c'%C3%A8%20un'opzione%20per%20etichettarli%20con%20nomi%20di%20esempio%20da%20una%20colonna%20diversa%20o%20qualcosa%20del%20genere%2C%20come%20ho%20fatto%20io%20stesso%20in%20A%20plot%20(nel%20file%20allegato%2C%20in%20R)%3F%20Almeno%20con%20una%20riga%2C%20invece%20di%20vedere%20solo%20un%20punto%20nero.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPerch%C3%A9%20ora%20ho%20bisogno%20di%20premere%20su%20ogni%20punto%20per%20vedere%20quale%20punto%20%C3%A8%20quale%20linea%2C%20e%20questo%20non%20%C3%A8%20affatto%20conveniente.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EGrazie%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-328877%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAnalytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETabella%20dati%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGrafica%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328900%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EOggetto%3A%20etichettatura%20dei%20punti%20dati%20in%20PCA%20Biplot%20in%20base%20a%20una%20caratteristica%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328900%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EUn%20modo%20semplice%20per%20farlo%20%C3%A8%20quello%20di%20andare%20alla%20colonna%20della%20tabella%20dati%20che%20si%20desidera%20visualizzare%2C%20fare%20clic%20con%20il%20tasto%20destro%20sulla%20colonna%20e%20selezionare%20%22Etichetta%20%2F%20Annulla%20etichetta%22.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pca1.PNG%22%20style%3D%22width%3A%20283px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pca1.PNG%22%20style%3D%22width%3A%20283px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27981iF5BAAA7C009A7E55%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pca1.PNG%22%20alt%3D%22pca1.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EQuindi%20quando%20passi%20il%20mouse%20sopra%20o%20fai%20clic%20su%20un%20punto%20dati%2C%20vedrai%20l'etichetta.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pca2.PNG%22%20style%3D%22width%3A%20473px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pca2.PNG%22%20style%3D%22width%3A%20473px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27982i0412DE11B9A8B9CA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pca2.PNG%22%20alt%3D%22pca2.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESe%20vuoi%20che%20le%20etichette%20diventino%20persistenti%2C%20tutto%20ci%C3%B2%20che%20devi%20fare%20%C3%A8%20selezionare%20l'opzione%20%22Etichetta%20%2F%20Rimuovi%20etichetta%22%20per%20le%20righe%20nella%20tabella%20dati%20in%20cui%20desideri%20che%20le%20etichette%20vengano%20visualizzate%20continuamente.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pca3.PNG%22%20style%3D%22width%3A%20304px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pca3.PNG%22%20style%3D%22width%3A%20304px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27983i3340D6138C893D4B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pca3.PNG%22%20alt%3D%22pca3.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pca4.PNG%22%20style%3D%22width%3A%20436px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pca4.PNG%22%20style%3D%22width%3A%20436px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27984i5207EF476FE72F62%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pca4.PNG%22%20alt%3D%22pca4.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
dainius
Level II

Labelling data points in PCA Biplot by a characteristic

Dear all,

 

is it possible to label the data points in a biplot shown in B by some definite characteristics in JMP? 

I mean, is there an option to label them by sample names from a different column or something, like I did it in A plot myself (in the attached file, in R)? At least by a row line - instead of seeing just a black dot.

 

Because now I need to press on every point to see which point is which line, and this is not at all convenient.


Thank you

4 REPLIES 4
txnelson
Super User

Re: Labelling data points in PCA Biplot by a characteristic

A simple way to do this, is to go to the column in the data table you want to be displayed, and to right click on the column and select "Label/UnLabel". 

pca1.PNG

Then when you hover over, or click on a data point, you will see the label.

pca2.PNG

If you want the labels to become persistent, all you need to do is to select the "Label/UnLabel" option for the rows in the data table you want the labels to be continuously displayed.

pca3.PNG 

pca4.PNG

Jim
dainius
Level II

Re: Labelling data points in PCA Biplot by a characteristic

Can I have this info drawn in the graph though - instead of the black points? 

I would be much more useful to me to see them all at once than to wander on each individual point.

txnelson
Super User

Re: Labelling data points in PCA Biplot by a characteristic

See my addition to my initial response.
Jim
dainius
Level II

Re: Labelling data points in PCA Biplot by a characteristic

Ok, maybe the question was unclear. This is what I would love to see (attached).

My samples are named S1, S2, S3, S4 and so on.

For every point, instead of a point, I would want to see S1, S2 or S3 written instead of a point. 

I have deleted some black points on your plot to show what I actually mean.

 

I think it makes it much easier to spot the groups of the samples and to get an idea of how are they scattered.

It's kinda a preliminary grouping. Now by an immediate looking I can see that S1 clusters together. Ok, let's investigate this further. Instead of manually pressing on 100 points to see which category they belong to.

Recommended Articles