Skip to content

Commit

Permalink
Merge pull request #18 from 3mmaRand/draft-omics-03
Browse files Browse the repository at this point in the history
Draft omics 03
  • Loading branch information
3mmaRand committed Oct 22, 2023
2 parents 407b3dc + d701438 commit a00ea78
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions omics/week-5/workshop.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ We will carry out several steps

We need to import both the normalised counts and the statistical results. We will need all of these for the visualisation and interpretation.

🎬 Import files saved from last week from the `results` folder: s30_normalised_counts.csv and s30_results.csv. I used the names `s30_count_norm` and `s30_results` for the dataframes.
🎬 Import files saved from last week from the `results` folder: S30_normalised_counts.csv and S30_results.csv. I used the names `s30_count_norm` and `s30_results` for the dataframes.

```{r}
#| echo: false
#---CODING ANSWER---
# Import the normalised counts
s30_count_norm <- read_csv("results/s30_normalised_counts.csv")
s30_count_norm <- read_csv("results/S30_normalised_counts.csv")
# DE results
s30_results <- read_csv("omics/week-4/results/s30_results.csv")
s30_results <- read_csv("results/S30_results.csv")
```

Expand Down Expand Up @@ -209,7 +209,7 @@ s30_results_sig0.01 <- s30_results |>
```{r}
# write to csv file
write_csv(s30_results_sig0.01,
file = "omics/week-5/results/s30_results_sig0.01.csv")
file = "results/s30_results_sig0.01.csv")
```

```{r}
Expand All @@ -222,7 +222,7 @@ s30_results_sig0.05 <- s30_results |>
```{r}
# write to csv file
write_csv(s30_results_sig0.05,
file = "omics/week-5/results/s30_results_sig0.05.csv")
file = "results/s30_results_sig0.05.csv")
```

Expand Down Expand Up @@ -438,8 +438,8 @@ We will carry out several steps
#| echo: false
#---CODING ANSWER---
# import the normalised counts
prog <- read_csv("omics/week-5/data-raw/surfaceome_prog.csv")
hspc <- read_csv("omics/week-5/data-raw/surfaceome_hspc.csv")
prog <- read_csv("data-raw/surfaceome_prog.csv")
hspc <- read_csv("data-raw/surfaceome_hspc.csv")
```

Expand All @@ -456,7 +456,7 @@ prog_hspc <- bind_cols(prog, hspc[-1])

```{r}
# import the DE results
prog_hspc_results <- read_csv("omics/week-5/results/prog_hspc_results.csv")
prog_hspc_results <- read_csv("results/prog_hspc_results.csv")
```


Expand Down Expand Up @@ -568,7 +568,7 @@ prog_hspc_results_sig0.01 <- prog_hspc_results |>
write to csv file
```{r}
write_csv(prog_hspc_results_sig0.01,
file = "omics/week-5/results/prog_hspc_results_sig0.01.csv")
file = "results/prog_hspc_results_sig0.01.csv")
```


Expand All @@ -582,7 +582,7 @@ write to csv file

```{r}
write_csv(prog_hspc_results_sig0.05,
file = "omics/week-5/results/prog_hspc_results_sig0.05.csv")
file = "results/prog_hspc_results_sig0.05.csv")
```

Expand Down

0 comments on commit a00ea78

Please sign in to comment.