Skip to content

Commit

Permalink
fix "Search for Samples or Studies" R notebook: sparse df merge
Browse files Browse the repository at this point in the history
  • Loading branch information
SandyRogers authored Mar 12, 2024
1 parent 5bd8f4d commit e58a54c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/notebooks/R Examples/Search for Samples or Studies.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
},
"outputs": [],
"source": [
"library(dplyr)\n",
"library(vegan)\n",
"library(ggplot2)\n",
"library(phyloseq)\n",
Expand Down Expand Up @@ -151,7 +152,7 @@
"source": [
"samps_np <- mgnify_query(mg, \"samples\", latitude_gte=88, maxhits=1)\n",
"samps_sp <- mgnify_query(mg, \"samples\", latitude_lte=-88, maxhits=1)\n",
"samps_polar <- rbind(samps_np, samps_sp)"
"samps_polar <- bind_rows(samps_np, samps_sp)"
]
},
{
Expand Down

0 comments on commit e58a54c

Please sign in to comment.