{"id":270,"date":"2021-01-22T16:25:09","date_gmt":"2021-01-22T16:25:09","guid":{"rendered":"https:\/\/terrabioappdev.wpenginepowered.com\/try-rstudio-in-terra\/"},"modified":"2023-12-27T04:54:26","modified_gmt":"2023-12-27T04:54:26","slug":"try-rstudio-in-terra","status":"publish","type":"post","link":"https:\/\/terra.bio\/try-rstudio-in-terra\/","title":{"rendered":"Try out RStudio in Terra"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Just a few hours ago, the <\/span><a href=\"https:\/\/rstudio.com\/conference\/\"><span style=\"font-weight: 400;\">rstudio::global(2021)<\/span><\/a><span style=\"font-weight: 400;\"> conference completed a full 24 hours of really cool talks, which was all the more impressive for being a completely free event.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So we thought, what better way to keep the party going than to share a video showing how to use RStudio in Terra?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Yes, you read that right, RStudio is available in Terra. Specifically, we provide a cloud environment pre-configured to run the server version of RStudio, as an alternative (or complement) to Jupyter Notebooks. It&#8217;s an alpha feature, which means it&#8217;s still under active development and isn&#8217;t fully documented yet, but I&#8217;ve been kicking the tires all week so I thought I&#8217;d show you a real-world example of how it works.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This 7-minute video shows you how to select the right cloud environment for running RStudio, import some data and get started with <\/span><a href=\"https:\/\/www.bioconductor.org\/\"><span style=\"font-weight: 400;\">Bioconductor<\/span><\/a><span style=\"font-weight: 400;\"> packages for single-cell RNA-seq analysis. All of the steps shown here can be reproduced with publicly available resources; see the list at the end of this post.<\/span><\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/JAcCtTkkvJw\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><em>If the resolution doesn&#8217;t look right when viewing in full screen, click the YouTube logo in the lower right corner of the player to go watch the video in its original format on YouTube.<\/em><\/p>\n<p><span style=\"font-weight: 400;\">The RStudio integration in Terra is the product of a great collaboration with the <\/span><a href=\"https:\/\/www.bioconductor.org\/about\/core-team\/\"><span style=\"font-weight: 400;\">Bioconductor team<\/span><\/a><span style=\"font-weight: 400;\"> as part of the <\/span><a href=\"https:\/\/anvilproject.org\/\"><span style=\"font-weight: 400;\">AnVIL<\/span><\/a><span style=\"font-weight: 400;\"> project, which had already produced a preconfigured environment for using Bioconductor in Jupyter Notebooks (which you can try out by following the instructions in the <\/span><a href=\"https:\/\/app.terra.bio\/#workspaces\/help-gatk\/Bioconductor\"><span style=\"font-weight: 400;\">public Bioconductor workspace<\/span><\/a><span style=\"font-weight: 400;\">).\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In parallel, and also as part of the AnVIL project, we&#8217;ve been working with the <\/span><a href=\"https:\/\/galaxyproject.org\/galaxy-team\/\"><span style=\"font-weight: 400;\">Galaxy team<\/span><\/a><span style=\"font-weight: 400;\"> \u2014 so there might be a sneak preview of Galaxy in Terra in our collective future as well. Make sure to subscribe to <\/span><a href=\"http:\/\/terra.bio\/blog\"><span style=\"font-weight: 400;\">this blog<\/span><\/a><span style=\"font-weight: 400;\"> and\/or the <\/span><a href=\"https:\/\/www.youtube.com\/channel\/UCkXAqpR5Hk1ZmNd2-1K2l5Q\"><span style=\"font-weight: 400;\">Terra channel<\/span><\/a><span style=\"font-weight: 400;\"> on YouTube to be notified when we upload new content.<\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><strong><span style=\"color: #339966;\">Resources and further reading<\/span><\/strong><\/p>\n<h4><b>Public Terra workspaces<\/b><\/h4>\n<p><a href=\"https:\/\/app.terra.bio\/#workspaces\/help-gatk\/Bioconductor\"><span style=\"font-weight: 400;\">Bioconductor workspace<\/span><\/a><\/p>\n<p><a href=\"https:\/\/app.terra.bio\/#workspaces\/featured-workspaces-hca\/HCA_Optimus_Pipeline\"><span style=\"font-weight: 400;\">HCA_Optimus workspace<\/span><\/a><\/p>\n<h4><b>Documentation<\/b><\/h4>\n<p><a href=\"https:\/\/terra.bio\/resources\/getting-started\/\"><span style=\"font-weight: 400;\">Getting started with Terra<\/span><\/a><span style=\"font-weight: 400;\"> (for newcomers)<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/anvilproject\/anvil-docker\/tree\/master\/anvil-rstudio-bioconductor\"><span style=\"font-weight: 400;\">AnVIL project on Github: AnVIL, RStudio and Bioconductor<\/span><\/a><\/p>\n<p><a href=\"https:\/\/www.bioconductor.org\/packages\/release\/bioc\/html\/AnVIL.html\"><span style=\"font-weight: 400;\">Bioconductor: AnVIL package docs<\/span><\/a><\/p>\n<p><a href=\"https:\/\/www.bioconductor.org\/packages\/release\/bioc\/vignettes\/SingleCellExperiment\/inst\/doc\/intro.html\"><span style=\"font-weight: 400;\">Bioconductor: SingleCellExperiment intro docs<\/span><\/a><\/p>\n<p><a href=\"https:\/\/broadinstitute.github.io\/warp\/documentation\/Pipelines\/Optimus_Pipeline\/#faqs\"><span style=\"font-weight: 400;\">Optimus Pipeline FAQs<\/span><\/a><\/p>\n<h4><b>Literature<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Amezquita R, Lun A, Becht E, Carey V, Carpp L, Geistlinger L, Marini F, Rue-Albrecht K, Risso D, Soneson C, Waldron L, Pages H, Smith M, Huber W, Morgan M, Gottardo R, Hicks S (2020). \u201cOrchestrating single-cell analysis with Bioconductor.\u201d <\/span><i><span style=\"font-weight: 400;\">Nature Methods<\/span><\/i><span style=\"font-weight: 400;\">, <\/span><b>17<\/b><span style=\"font-weight: 400;\">, 137\u2013145. <\/span><a href=\"https:\/\/www.nature.com\/articles\/s41592-019-0654-x\"><span style=\"font-weight: 400;\">https:\/\/www.nature.com\/articles\/s41592-019-0654-x<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What better way to keep the rstudio::global(2021) party going than to share a video showing how to use RStudio in Terra? Yes, you read that right, RStudio is available in Terra! Specifically, we provide a cloud environment pre-configured to run the server version of RStudio, as an alternative (or complement) to Jupyter Notebooks. [&#8230;]<\/p>\n","protected":false},"author":4,"featured_media":239,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[43,44,59,39,14],"tags":[88,74,89,90,91],"class_list":["post-270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-features","category-interactive-analysis","category-single-cell","category-videos","category-workspaces","tag-analysis","tag-bioinformatics","tag-rstudio","tag-scrnaseq","tag-video"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Try out RStudio in Terra - Terra<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/terra.bio\/try-rstudio-in-terra\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Try out RStudio in Terra - Terra\" \/>\n<meta property=\"og:description\" content=\"What better way to keep the rstudio::global(2021) party going than to share a video showing how to use RStudio in Terra? Yes, you read that right, RStudio is available in Terra! Specifically, we provide a cloud environment pre-configured to run the server version of RStudio, as an alternative (or complement) to Jupyter Notebooks. [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/terra.bio\/try-rstudio-in-terra\/\" \/>\n<meta property=\"og:site_name\" content=\"Terra\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-22T16:25:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-27T04:54:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Geraldine Van der Auwera\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Geraldine Van der Auwera\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/\"},\"author\":{\"name\":\"Geraldine Van der Auwera\",\"@id\":\"https:\/\/terra.bio\/#\/schema\/person\/ad0522d0b331a5e08fa1733f65086ee2\"},\"headline\":\"Try out RStudio in Terra\",\"datePublished\":\"2021-01-22T16:25:09+00:00\",\"dateModified\":\"2023-12-27T04:54:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/\"},\"wordCount\":412,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/terra.bio\/#organization\"},\"image\":{\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png\",\"keywords\":[\"analysis\",\"bioinformatics\",\"rstudio\",\"scrnaseq\",\"video\"],\"articleSection\":[\"Features\",\"Interactive Analysis\",\"Single-Cell\",\"Videos\",\"Workspaces\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/terra.bio\/try-rstudio-in-terra\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/\",\"url\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/\",\"name\":\"Try out RStudio in Terra - Terra\",\"isPartOf\":{\"@id\":\"https:\/\/terra.bio\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png\",\"datePublished\":\"2021-01-22T16:25:09+00:00\",\"dateModified\":\"2023-12-27T04:54:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/terra.bio\/try-rstudio-in-terra\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage\",\"url\":\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png\",\"contentUrl\":\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png\",\"width\":1200,\"height\":627,\"caption\":\"Molecule_OG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/terra.bio\/try-rstudio-in-terra\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/terra.bio\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Try out RStudio in Terra\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/terra.bio\/#website\",\"url\":\"https:\/\/terra.bio\/\",\"name\":\"Terra\",\"description\":\"Science at Scale\",\"publisher\":{\"@id\":\"https:\/\/terra.bio\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/terra.bio\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/terra.bio\/#organization\",\"name\":\"Terra\",\"url\":\"https:\/\/terra.bio\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/terra.bio\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Terra-Bio-App@2x.webp\",\"contentUrl\":\"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Terra-Bio-App@2x.webp\",\"width\":287,\"height\":318,\"caption\":\"Terra\"},\"image\":{\"@id\":\"https:\/\/terra.bio\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/terra.bio\/#\/schema\/person\/ad0522d0b331a5e08fa1733f65086ee2\",\"name\":\"Geraldine Van der Auwera\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/terra.bio\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d73bdaf6740465b385e0e3b290786d8cb9d9d548eadec23364254ba06c85204b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d73bdaf6740465b385e0e3b290786d8cb9d9d548eadec23364254ba06c85204b?s=96&d=mm&r=g\",\"caption\":\"Geraldine Van der Auwera\"},\"sameAs\":[\"https:\/\/app.terra.bio\/\"],\"url\":\"https:\/\/terra.bio\/author\/geraldinevanterra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Try out RStudio in Terra - Terra","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/terra.bio\/try-rstudio-in-terra\/","og_locale":"en_US","og_type":"article","og_title":"Try out RStudio in Terra - Terra","og_description":"What better way to keep the rstudio::global(2021) party going than to share a video showing how to use RStudio in Terra? Yes, you read that right, RStudio is available in Terra! Specifically, we provide a cloud environment pre-configured to run the server version of RStudio, as an alternative (or complement) to Jupyter Notebooks. [...]","og_url":"https:\/\/terra.bio\/try-rstudio-in-terra\/","og_site_name":"Terra","article_published_time":"2021-01-22T16:25:09+00:00","article_modified_time":"2023-12-27T04:54:26+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png","type":"image\/png"}],"author":"Geraldine Van der Auwera","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Geraldine Van der Auwera","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#article","isPartOf":{"@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/"},"author":{"name":"Geraldine Van der Auwera","@id":"https:\/\/terra.bio\/#\/schema\/person\/ad0522d0b331a5e08fa1733f65086ee2"},"headline":"Try out RStudio in Terra","datePublished":"2021-01-22T16:25:09+00:00","dateModified":"2023-12-27T04:54:26+00:00","mainEntityOfPage":{"@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/"},"wordCount":412,"commentCount":0,"publisher":{"@id":"https:\/\/terra.bio\/#organization"},"image":{"@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage"},"thumbnailUrl":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png","keywords":["analysis","bioinformatics","rstudio","scrnaseq","video"],"articleSection":["Features","Interactive Analysis","Single-Cell","Videos","Workspaces"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/terra.bio\/try-rstudio-in-terra\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/","url":"https:\/\/terra.bio\/try-rstudio-in-terra\/","name":"Try out RStudio in Terra - Terra","isPartOf":{"@id":"https:\/\/terra.bio\/#website"},"primaryImageOfPage":{"@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage"},"image":{"@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage"},"thumbnailUrl":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png","datePublished":"2021-01-22T16:25:09+00:00","dateModified":"2023-12-27T04:54:26+00:00","breadcrumb":{"@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/terra.bio\/try-rstudio-in-terra\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#primaryimage","url":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png","contentUrl":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Molecule_OG.png","width":1200,"height":627,"caption":"Molecule_OG"},{"@type":"BreadcrumbList","@id":"https:\/\/terra.bio\/try-rstudio-in-terra\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/terra.bio\/"},{"@type":"ListItem","position":2,"name":"Try out RStudio in Terra"}]},{"@type":"WebSite","@id":"https:\/\/terra.bio\/#website","url":"https:\/\/terra.bio\/","name":"Terra","description":"Science at Scale","publisher":{"@id":"https:\/\/terra.bio\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/terra.bio\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/terra.bio\/#organization","name":"Terra","url":"https:\/\/terra.bio\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/terra.bio\/#\/schema\/logo\/image\/","url":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Terra-Bio-App@2x.webp","contentUrl":"https:\/\/terra.bio\/wp-content\/uploads\/2023\/12\/Terra-Bio-App@2x.webp","width":287,"height":318,"caption":"Terra"},"image":{"@id":"https:\/\/terra.bio\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/terra.bio\/#\/schema\/person\/ad0522d0b331a5e08fa1733f65086ee2","name":"Geraldine Van der Auwera","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/terra.bio\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d73bdaf6740465b385e0e3b290786d8cb9d9d548eadec23364254ba06c85204b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d73bdaf6740465b385e0e3b290786d8cb9d9d548eadec23364254ba06c85204b?s=96&d=mm&r=g","caption":"Geraldine Van der Auwera"},"sameAs":["https:\/\/app.terra.bio\/"],"url":"https:\/\/terra.bio\/author\/geraldinevanterra\/"}]}},"_links":{"self":[{"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":0,"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/media\/239"}],"wp:attachment":[{"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/terra.bio\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}