-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalgoritmos_mcia.Rmd
More file actions
52 lines (39 loc) · 926 Bytes
/
algoritmos_mcia.Rmd
File metadata and controls
52 lines (39 loc) · 926 Bytes
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
---
title: "omicade4: MCIA"
author: "Mar Garcia-Aloy"
output:
html_document:
toc: true
number_sections: false
toc_float: true
---
```{r startpoint, include = FALSE}
startpoint <- Sys.time()
```
# Preliminares
```{r preliminares}
library(omicade4)
```
# Preparación de los datos
```{r datos}
data(NCI60_4arrays)
```
# Ejecución del modelo
```{r modelo}
res.mcia <- mcia(NCI60_4arrays, cia.nf = 10)
```
# Representaciones gráficas
```{r graficos}
cancer_type <- colnames(NCI60_4arrays$agilent)
cancer_type <- sapply(strsplit(cancer_type, split="\\."),
function(x) x[1])
plot.mcia(res.mcia, axes = 1:2, phenovec = cancer_type,
sample.lab = FALSE)
selectVar(res.mcia, a1.lim = c(2, Inf), a2.lim = c(-Inf, Inf))
plotVar(res.mcia, var = c("S100B", "S100A1"), var.lab = TRUE)
```
# Session information
```{r session}
Sys.time()-startpoint
devtools::session_info()
```