JuliaMSI/README.md
2024-10-17 16:53:04 -06:00

37 lines
1.2 KiB
Markdown

# Julia_msi_GUI<br />
A Graphical User Interface for IMS in Julia: https://github.com/CINVESTAV-LABI/julia_mzML_imzML
## Local installation
1. Launch Julia
```
julia
```
2. set working directory to Julia_msi_GUI (this repository) code using
```
cd("PathToRepository/Julia_msi_GUI-main")
```
3. Enter Pkg mode by pressing the close square bracket once Julia has been loaded: ** Mostrar imagen del modo pkg**
```
]
```
3. Install the following libraries
```
add Pkg Libz ; add https://github.com/CINVESTAV-LABI/julia_mzML_imzML ; add PlotlyBase ; add Statistics ; add CairoMakie ; add Colors ; add Genie
```
## Load user interface
1. set working directory to Julia_msi_GUI (this repository) code using
```
cd("PathToRepository/Julia_msi_GUI-main")
```
2. In the Pkg mode (enter by pressing "]" once Julia is rining) enter:
```
activate .
```
3. Get out from Pkg mode by pressing the backspace key and enter next line:
```
using Genie ; Genie.loadapp() ; up()
```
6. After the package is loaded, open the port generated by Genie to access the GUI by pressing cmd (macOS) or ctrl (Linux/Windows) in the http:// direction, as shown in the figure.
![Open Julia](https://github.com/user-attachments/assets/37e191d7-635d-458f-a1cd-719e2964594f)