Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion final excel different plot titles #55

Open
iljavh opened this issue Aug 9, 2021 · 0 comments
Open

Suggestion final excel different plot titles #55

iljavh opened this issue Aug 9, 2021 · 0 comments

Comments

@iljavh
Copy link
Contributor

iljavh commented Aug 9, 2021

Instead of HMDB code in the plot title of the boxplots in the final excel made in 13-excelExport.R, use the HMDB name, which makes the excel more comprehensive and user-friendly. Suggestion, the column in which HMDB name is given is in n-th column, which can be calculated by: length(control_col_ids) + length(patient_col_ids) as it is the first column after all the intensities.

145    hmdb_name <- rownames(outlist[p,])
146    metabolite_name <- outlist[p, ( length(control_col_ids) + length(patient_col_ids) )]
...
168        boxplot(intensities, 
            col=c("green", rep("red", length(intensities)-1)),
            names.arg = labels, 
            las=2, 
            main = metabolite_name) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant