- Install R Language https://cloud.r-project.org/
- Download PGL.R anf HumanBrainAtlas.Rdata files from this repository.
- Copy your genes and/or brain regions lists in the same folder. Make sure all files are in the same folder.
- Run the Source() command so you can execute the PGL's functions from the command line:
source('PGL.R')
- Run the command
GetROIs('<your_genes_list.csv>')
or
Result<-GetGenes('<your_ROIs_list.csv>')
You can also use the ROIs and genes lists uploaded in this repository to try PGL for the first time.
When the process is completed, you will find a .csv and a .Rdata file containing the results, in the same directory where you placed the PGL script and the lists to be processed. This new .csv and .Rdata results files will be named as follows: PGLResults_<your_genes_list>.