Procházet zdrojové kódy

Load all data

master
Pjotr Prins před 1 rokem
rodič
revize
0e65009d31
2 změnil soubory, kde provedl 38 přidání a 1 odebrání
  1. +28
    -1
      doc/load-data.Rmd
  2. +10
    -0
      doc/rstudio-tips.md

+ 28
- 1
doc/load-data.Rmd Zobrazit soubor

@@ -62,4 +62,31 @@ Let's plot ELISA vs Time to diagnosis
plot(ind_attr$ELISA ~ ind_attr$Time_to_diagnosis)
```

So, it looks like late diagnosis has an effect.
So, it looks like late diagnosis has an effect. This is just a quick example, let's continue loading sets from

```
cytokines.csv
final_outcome_jan2020.csv
Individual_attributes.csv
pcr.csv
supernatant.csv
transcriptomics.csv
treg_phenotype_data.csv
```

```{r}
cytokines = read.csv("cytokines.csv")
final = read.csv("final_outcome_jan2020.csv")
pcr = read.csv("pcr.csv")
supernatant = read.csv("supernatant.csv")
transcriptomics = read.csv("transcriptomics.csv")
treg = read.csv("treg_phenotype_data.csv")
```

when they load you can explore the data in the top right enviroment or

```{r}
show(pcr$day[1:3])
```

It will show that not all rows are labeled. That means we will need a way to cross-reference by ID.

+ 10
- 0
doc/rstudio-tips.md Zobrazit soubor

@@ -0,0 +1,10 @@
# Tips

## Useful keyboard shortcuts


In markdown mode:

Ctrl-Alt-I Insert code block

For more Rstudio see [shortcuts](https://support.rstudio.com/hc/en-us/articles/200711853-Keyboard-Shortcuts).

Načítá se…
Zrušit
Uložit