Explicitar el paquet dplyr per a rename.
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ server <- function(input, output) {
|
||||
|
||||
ranPeaks<-range(picks$rows)
|
||||
|
||||
obj$plot<-obj_ab@traceMatrix %>% as.data.frame() %>% rename(A=V1,C=V2,G=V3,T=V4) %>% add_column(rows=1:nrow(.)) %>%
|
||||
obj$plot<-obj_ab@traceMatrix %>% as.data.frame() %>% dplyr::rename(A=V1,C=V2,G=V3,T=V4) %>% add_column(rows=1:nrow(.)) %>%
|
||||
filter(rows >= ranPeaks[1] & rows <= ranPeaks[2]) %>% gather(Base, Value, -rows) %>%
|
||||
mutate(Base=factor(Base, levels=c("G","A","T","C"))) %>%
|
||||
ggplot(aes(rows, Value))+
|
||||
|
||||
Reference in New Issue
Block a user