@@ -70,14 +70,14 @@ def create_footer():
7070plot_options = ['Boxplot' ,'Violin plot' ,'Dot plot' ]
7171gene = st .text_input ('Enter gene symbol' ).upper ().strip (' ' )
7272# Open files to identify location of the genes
73- experimental_pm_file = open ('../../ Data/Raw /HPA_evidence_pm.csv' ,'r' )
73+ experimental_pm_file = open ('Data/HPA_evidence_pm.csv' ,'r' )
7474for line in experimental_pm_file :
7575 experimental_pm_genes = line .split (',' )
76- no_membrane = open ('../../ Data/Processed /no_membrane_genes.csv' ,'r' )
76+ no_membrane = open ('Data/no_membrane_genes.csv' ,'r' )
7777for line in no_membrane :
7878 no_membrane_genes = line .split (',' )
7979# Identify if indicated gene is present in the data
80- data = pd .read_csv ('../../ Data/Processed /log2FC_expression_all_genes.csv' )
80+ data = pd .read_csv ('Data/log2FC_expression_all_genes.csv' )
8181if gene == '' :
8282 st .error ('Introduce gene symbol. You can try FGFR1' )
8383if 'MORF' not in gene :
@@ -200,7 +200,7 @@ def plot_significance(tumor,y,bottom,top,K_pvalue):
200200if st .button (f'Create { plot } ' ):
201201 if gene != '' and gene in data ['gene' ].values :
202202 # Identify GTEx tissue sample corresponding to control group of tumor
203- with open ('../../ Data/Processed /SKCM_all_genes.pkl' , 'rb' ) as archivo :
203+ with open ('Data/SKCM_all_genes.pkl' , 'rb' ) as archivo :
204204 SKCM = pickle .load (archivo )
205205 # Get requested information
206206 groups = [] # Gruops of tumor (Metastatic, Primary or Control)
@@ -260,3 +260,4 @@ def plot_significance(tumor,y,bottom,top,K_pvalue):
260260 st .error ('No gene symbol was introduced' )
261261
262262create_footer ()
263+
0 commit comments