From d21c2347c4a5ff3c04a974e9e21f822f07afd65c Mon Sep 17 00:00:00 2001 From: Alejandra Escobar Date: Thu, 15 Feb 2024 14:17:57 +0000 Subject: [PATCH] Small bug fixed on Pathways Vis notebook (#43) --- src/notebooks/R Examples/Pathways Visualisation.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notebooks/R Examples/Pathways Visualisation.ipynb b/src/notebooks/R Examples/Pathways Visualisation.ipynb index 9b17a97..b2d279a 100644 --- a/src/notebooks/R Examples/Pathways Visualisation.ipynb +++ b/src/notebooks/R Examples/Pathways Visualisation.ipynb @@ -703,9 +703,9 @@ "outputs": [], "source": [ "# Integrating all dataframes into a single dataframe\n", - "integrated_df = data.frame()\n", - "for (df in list_of_dfs){\n", - " integrated_df = merge(integrated_df,df, all = T)\n", + "integrated_df = list_of_dfs[[1]]\n", + "for (i in 2:length(list_of_dfs)){\n", + " integrated_df = merge(integrated_df,list_of_dfs[[i]], all = T)\n", "}\n", "\n", "## Cleaning the integrated table\n",