forked from egmg726/training-program-application-2026
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathanalysis.r
More file actions
52 lines (28 loc) · 1.41 KB
/
analysis.r
File metadata and controls
52 lines (28 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ---------------------------------------------------------
# Melbourne Bioinformatics Training Program
# This exercise to assess your familiarity with R and git. Please follow
# the instructions on the README page and link to your repo in your application.
# If you do not link to your repo, your application will be automatically denied.
# Leave all code you used in this R script with comments as appropriate.
# Let us know if you have any questions!
# You can use the resources available on our training website for help:
# Intro to R: https://mbite.org/intro-to-r
# Version Control with Git: https://mbite.org/intro-to-git/
# ----------------------------------------------------------
# Load libraries -------------------
# You may use base R or tidyverse for this exercise
# ex. library(tidyverse)
# Load data here ----------------------
# Load each file with a meaningful variable name.
# Inspect the data -------------------------
# What are the dimensions of each data set? (How many rows/columns in each?)
# Keep the code here for each file.
## Expression data
## Metadata
# Prepare/combine the data for plotting ------------------------
# How can you combine this data into one data.frame?
# Plot the data --------------------------
## Plot the expression by cell type
## Can use boxplot() or geom_boxplot() in ggplot2
## Save the plot
### Show code for saving the plot with ggsave() or a similar function