@@ -215,7 +215,7 @@ chat$ask("Generate a cell-cell communication plot for the cellphonedb_res data."
215215# > required to skim dataframes. Skim summary of dataframes currently not shown in
216216# > prompt
217217# > Code ran:
218- # > CCCPlot(data = cellphonedb_res, plot_type = "network")
218+ # > CCCPlot(cellphonedb_res, plot_type = "network")
219219```
220220
221221![ ] ( Visualizing_data_with_LLMs_files/figure-html/unnamed-chunk-6-1.png )
@@ -246,7 +246,7 @@ chat$ask("Add a proper title to the plot")
246246# > required to skim dataframes. Skim summary of dataframes currently not shown in
247247# > prompt
248248# > Code ran:
249- # > CCCPlot(cellphonedb_res, plot_type = "heatmap", title = "Cell-Cell Communication Heatmap ")
249+ # > CCCPlot(cellphonedb_res, plot_type = "heatmap", title = "Cell-Cell Communication Plot ")
250250```
251251
252252![ ] ( Visualizing_data_with_LLMs_files/figure-html/unnamed-chunk-8-1.png )
@@ -255,12 +255,12 @@ chat$ask("Add a proper title to the plot")
255255# To fetch the previous conversation
256256# Note that the response from the LLM is simplified in the history
257257chat $ get_history()
258- # > [1] "User: Generate a cell-cell communication plot for the cellphonedb_res data."
259- # > [2] "Assistant: tool - CCCPlot; data - scplotter::cellphonedb_res; code - CCCPlot(data = cellphonedb_res, plot_type = \"network\")"
260- # > [3] "User: Do a heatmap instead"
261- # > [4] "Assistant: tool - CCCPlot; data - scplotter::cellphonedb_res; code - CCCPlot(cellphonedb_res, plot_type = \"heatmap\")"
262- # > [5] "User: Add a proper title to the plot"
263- # > [6] "Assistant: tool - CCCPlot; data - scplotter::cellphonedb_res; code - CCCPlot(cellphonedb_res, plot_type = \"heatmap\", title = \"Cell-Cell Communication Heatmap \")"
258+ # > [1] "User: Generate a cell-cell communication plot for the cellphonedb_res data."
259+ # > [2] "Assistant: tool - CCCPlot; data - scplotter::cellphonedb_res; code - CCCPlot(cellphonedb_res, plot_type = \"network\")"
260+ # > [3] "User: Do a heatmap instead"
261+ # > [4] "Assistant: tool - CCCPlot; data - scplotter::cellphonedb_res; code - CCCPlot(cellphonedb_res, plot_type = \"heatmap\")"
262+ # > [5] "User: Add a proper title to the plot"
263+ # > [6] "Assistant: tool - CCCPlot; data - scplotter::cellphonedb_res; code - CCCPlot(cellphonedb_res, plot_type = \"heatmap\", title = \"Cell-Cell Communication Plot \")"
264264
265265# To clear the history
266266chat $ clear_history()
@@ -1308,11 +1308,11 @@ chat$ask("Generate a cell-cell communication plot for the cellphonedb_res data."
13081308 #> --- Receiving response from LLM provider: ---
13091309
13101310 #> ```r
1311- #> CCCPlot(data = cellphonedb_res, plot_type = "network ")
1311+ #> CCCPlot(cellphonedb_res, plot_type = "dot ")
13121312 #> ```
13131313
13141314 #> Code ran:
1315- #> CCCPlot(data = cellphonedb_res, plot_type = "network ")
1315+ #> CCCPlot(cellphonedb_res, plot_type = "dot ")
13161316
13171317![ ] ( Visualizing_data_with_LLMs_files/figure-html/unnamed-chunk-10-1.png )
13181318
@@ -2355,10 +2355,10 @@ chat$ask("Generate a cell-cell communication plot for the cellphonedb_res data."
23552355 #> --- Receiving response from LLM provider: ---
23562356
23572357 #> ```r
2358- #> CCCPlot(data = cellphonedb_res, plot_type = "network ")
2358+ #> CCCPlot(data = cellphonedb_res, plot_type = "dot ")
23592359 #> ```
23602360
23612361 #> Code ran:
2362- #> CCCPlot(data = cellphonedb_res, plot_type = "network ")
2362+ #> CCCPlot(data = cellphonedb_res, plot_type = "dot ")
23632363
23642364![ ] ( Visualizing_data_with_LLMs_files/figure-html/unnamed-chunk-11-1.png )
0 commit comments