Skip to content
Snippets Groups Projects
Commit 264382a5 authored by Xianzong Meng's avatar Xianzong Meng
Browse files

Update README.Rmd

parent a30a80ad
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ pal <- wes_palette("Darjeeling1")
```{r demo dabest}
#load the table. for other cases, it might help to keep naming consistent between tables, see example. Also, avoid spaces or weird characters in table names.
df <- read_csv('assets/tables/testname_measure.csv', col_types = cols()) %>% melt() %>% rename(group = variable) %>% drop_na()
df <- read_csv('assets/tables/testname_measure.csv', col_types = cols()) %>% melt() %>% dplyr::rename(group = variable) %>% drop_na()
# estimate the p-values using non-parametric test
p_tmp<- c(wilcox.test(df$value[df$group == 'Tph2+/+'], df$value[df$group == 'Tph2+/-'])$p.value, wilcox.test(df$value[df$group == 'Tph2+/+'], df$value[df$group == 'Tph2-/-'])$p.value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment