ahmohamed / lipidr

Data Mining and Analysis of Lipidomics datasets in R
https://www.lipidr.org/
Other
27 stars 13 forks source link

Add annotation with numeric scores #31

Closed DavidGO464 closed 2 years ago

DavidGO464 commented 2 years ago

Can I add an annotation with numeric values?

for instance "risk score: 0,1,2,3" :

Sample Risk Score Sample 1 - - - 0 Sample 2 - - - 1 Sample 3 - - - 2 Sample 4 - - - 1 . . etc

or it is just for categorical data?

thanks in advance for your answer.

ahmohamed commented 2 years ago

Hi David,

You definitely can. Please see this example of using continuous variable to model cancer stages. https://www.lipidr.org/articles/examples/mw_integration.html#supervised-multivariate-analysis-with-continuous-response-variable

Cheers.

On Sat, 25 Jun 2022, 5:26 am DavidGO464, @.***> wrote:

Can I add an annotation with numeric values?

for instance "risk score: 0,1,2,3" :

Sample Risk Score Sample 1 - - - 0 Sample 2 - - - 1 Sample 3 - - - 2 Sample 4 - - - 1 . . etc

or it is just for categorical data?

thanks in advance for your answer.

— Reply to this email directly, view it on GitHub https://github.com/ahmohamed/lipidr/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQWVVFMF2ITNSWKOROSODLVQYDW7ANCNFSM5ZYYZO6Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>