-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-added directory for data -updated the overview of protocols
- Loading branch information
1 parent
c9bad18
commit f5a24e1
Showing
37 changed files
with
138 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
library(tidyverse) | ||
|
||
x <- rep(0:15, 8) | ||
y <- rep(0:7, each=16) | ||
shape <- 1:128 | ||
|
||
df_shapes <- data.frame(x=x, y=y, shape=shape) | ||
|
||
ggplot(df_shapes, aes(x,y))+geom_label(aes(label=shape)) | ||
|
||
|
||
df_label <- df_shapes %>% filter(!shape %in% c(26:32)) | ||
|
||
ggplot(data=(df_shapes), aes(x,y)) + | ||
geom_point(shape = as.factor(shape), size=4, fill="blue") + | ||
scale_shape_manual(values = c(1:128)) + | ||
geom_label(data=df_label, aes(x=x,y=y,label=shape), nudge_y = -0.4, size=2, label.size = .2) + | ||
theme_minimal() + | ||
theme(legend.position = "none", | ||
axis.title = element_blank(), | ||
axis.text = element_blank()) + | ||
theme(panel.grid = element_blank()) + | ||
scale_y_reverse() + | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
library(tidyverse) | ||
|
||
x <- rep(0:15, 8) | ||
y <- rep(0:7, each=16) | ||
shape <- 0:127 | ||
|
||
df_shapes <- data.frame(x=x, y=y, shape=shape) %>% | ||
filter(!shape %in% c(26:31)) #Shapes 26-31 are not defined, so we'll remove those | ||
|
||
ggplot(data=df_shapes, aes(x,y)) + | ||
geom_point(aes(shape = as.factor(shape)), size=4, fill="blue") + | ||
scale_shape_manual(values = df_shapes$shape) + | ||
geom_label(aes(label=shape), nudge_y = -0.4, size=2, label.size = .2) + | ||
theme_minimal() + | ||
theme(legend.position = "none", | ||
axis.title = element_blank(), | ||
axis.text = element_blank(), | ||
panel.grid = element_blank()) + | ||
scale_y_reverse() + | ||
NULL | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-498 Bytes
(99%)
_bookdown_files/DataViz-protocols_files/figure-html/unnamed-chunk-83-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-498 Bytes
(99%)
docs/DataViz-protocols_files/figure-html/unnamed-chunk-83-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.