-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresults_mean_f1.Rmd
51 lines (43 loc) · 1.17 KB
/
results_mean_f1.Rmd
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
---
title: "Results mean F1"
author: "Anna Guadall"
output:
html_document:
number_sections: yes
theme: journal
toc: yes
toc_float: yes
pdf_document:
number_sections: yes
toc: yes
toc_depth: 2
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, message = FALSE, cache = F)
```
```{r libraries, message=FALSE}
library(ggplot2)
library(gridExtra)
library(knitr)
library(kableExtra)
```
```{r}
one <- read.table("oneseed.txt", sep = "\t", header = T)
kable(one) %>%
kable_styling(bootstrap_options = c("striped", "hover"))
```
```{r}
five <- read.table("fiveseeds.txt", sep = "\t", header = T)
kable(five) %>%
kable_styling(bootstrap_options = c("striped", "hover"))
```
```{r}
ggplot(one, aes(File, Mean_F1)) + geom_point(aes(color = Method, shape = Method), size =3) +
scale_shape_manual(values = c(0:4)) +
theme(legend.position = "right", axis.text.x = element_text(angle=45, hjust = 1))
```
```{r}
ggplot(five, aes(File, Average_mean_F1)) + geom_point(aes(color = Method, shape = Method), size =3) +
scale_shape_manual(values = c(0:4)) +
theme(legend.position = "right", axis.text.x = element_text(angle=45, hjust = 1))
```