> For the complete documentation index, see [llms.txt](https://docs.ccv.brown.edu/archive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ccv.brown.edu/archive/bootcamp-2022/schedule/wednesday-5-may-1.md).

# Thursday, 9 June

Introduction to Programming

Today's tutorials will occur along four tracks, each devoted to a different programming language, running concurrently. Each tab below corresponds to one of these tracks. The tutorials associated with each track are listed on the relevant tab.

{% tabs %}
{% tab title="MATLAB" %}

### Using MATLAB on Oscar | 9:30 - 11:00 EDT

An introduction to using MATLAB on Oscar. Topics covered include: working with MATLAB interactively on Oscar, using the MATLAB GUI, and using MATLAB in batch jobs.

[slides](https://docs.google.com/presentation/d/1Mu8OEisagl2xAU17r3i3j8ySN3O0VK9w1EON-8_-0gQ/edit?usp=sharing) | [exercises](https://docs.google.com/presentation/d/1yl6X-tqayri-204FJXjR0ZLUemalYVhl1_TrXSpOMik/edit?usp=sharing) | [video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=894d6f7a-8cf7-4886-ba25-aeb60102ab96)

### MATLAB: Programming Basics | 11:00 - 12:30 EDT

An introduction to programming using MATLAB. Topics covered include: programs and functions, relational operators, logical operators, and controlling flow with if statements and loops.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=76fba726-b1ab-4407-b1db-aeb60102c310)

### MATLAB: Improving Performance | 1:30 - 3:00 EDT

This workshop will cover basic performance optimization and parallel computing techniques in MATLAB, including: code profiling, pre-allocation, sequential memory access, vectorization, parallel for-loops and efficient matrix-vector storage and operations. We will assume that participants have a basic understanding of the MATLAB programming language.

[slides](https://docs.google.com/presentation/d/10JI5Zz4Q2Omnq8dXkD5h50sGfklDYYDwXxmJI9mS8iQ/edit?usp=sharing) | [video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=977b3cd0-8ae7-4145-bd13-aeb601031e68)
{% endtab %}

{% tab title="Python" %}
[video (all sessions)](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=bcbac9b1-1715-469d-9ebc-aeb6010d8df4)

### Using Jupyter Notebooks | 9:30 - 10:00 EDT

A quick overview to using Jupyter Notebooks. We will provide some Python-specific functionality and some tips about notebooks in general.

<https://github.com/compbiocore/ccv_bootcamp_python/blob/main/notebooks/Using_jupyter.ipynb>

### Python Programming Basics | 10:00 - 12:00 EDT

An introduction to Python programming. Topics covered will include: the basics of variables, lists, dictionaries and arrays; the logic of control-flow techniques such as if-then statements, for loops, list comprehensions; a basic understanding of writing functions.

<https://github.com/compbiocore/ccv_bootcamp_python/blob/main/notebooks/Intro_to_python_programming_draft.ipynb>

### Data Wrangling in Python | 1:30 - 3:30 EDT

A quick introduction to working with data in Python. We will touch on two ways work with data in general. A prerequisite is that you are at least familiar wiht simnple python programming or attended the previous session.

* Using standard Python programming
* Using Pandas the Python Data Analysis package

<https://github.com/compbiocore/ccv_bootcamp_python/blob/main/notebooks/Data_wrangling_in_Python.ipynb>

### Using Python on Oscar | 4.00 - 4:30 EDT

A short overview on how to work with Python on OSCAR.

<https://github.com/compbiocore/ccv_bootcamp_python/blob/main/notebooks/Using_python_on_OSCAR.ipynb>
{% endtab %}

{% tab title="R" %}

### A Gentle Introduction to R Programming | 9:30 - 12:00 EDT

This session will cover an introduction to R, including data types and data formats, useful R functions, writing your own functions, importing and exporting data, and installing packages.

<https://github.com/compbiocore/ccv_bootcamp_R/blob/main/R_Bootcamp_Intro_R.ipynb>

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=cc5ed0d0-eaae-4a0f-ad69-aeb6010d8df1)

### R/TidyVerse Essentials | 1:30 - 2:30 EDT

This session will cover data wrangling (filtering, reshaping, joining) using Tidyverse.

<https://github.com/compbiocore/ccv_bootcamp_R/blob/main/R_Bootcamp_Tidyverse.ipynb>

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=cc5ed0d0-eaae-4a0f-ad69-aeb6010d8df1)

### Essentials of GGplotting with R | 2:45 - 3:45 EDT

This session will cover data visualization using ggplot.

<https://github.com/compbiocore/ccv_bootcamp_R/blob/main/R_ggplot2.ipynb>

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=f4793b87-6fc2-4223-b634-aeb6010d8df1)

### Using R on Oscar | 4:00 - 4:30 EDT

This session will briefly cover different approaches to using R on Oscar.

<https://github.com/compbiocore/ccv_bootcamp_R/blob/main/R_on_Oscar.ipynb>

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=f4793b87-6fc2-4223-b634-aeb6010d8df1)
{% endtab %}

{% tab title="Julia" %}

### Introduction to Julia | 9:30 - 11:30 EDT

The Julia programming language has been gaining popularity in the scientific computing and data science communities. The language boasts performance characteristics approaching that of compiled languages like C, C++, and Fortran, while also being as expressive as Python, R, Ruby, or Matlab. This will be an introduction to the Julia language for users without previous experience using Julia. This will be a "hands-on" introduction, and will cover the basics of the language. No prior experience with Julia is required; some familiarity with another programming language will be benficial, but is not necessary.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=c0eac5e6-a1af-46b5-8758-aeb6010d8dee)
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ccv.brown.edu/archive/bootcamp-2022/schedule/wednesday-5-may-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
