Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Fig_3_uCT.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# re-run Figure_0 after this script
# re-run Figure_0 after this script

# set up Mollweide projection
ucl_rot_tp <- cart2sphZ(ucl_rot_2eye)[,2:3] %>%
Expand All @@ -12,6 +12,10 @@ ucl_rot_Mo2 <- cbind(ucl_rot_Mo2, 1)
ucl_rot_Mo2[!ind_left_cone, 3] <- 2 # left == 1, right == 2
colnames(ucl_rot_Mo2) <- c('xM', 'yM', 'left')

write_csv(data.frame(ucl_rot_tp), 'both_eyes_sphere.csv')
write_csv(data.frame(ucl_rot_Mo2), 'both_eyes_moll.csv')
write_csv(data.frame(ucl_rot_2eye), 'both_eyes_cart.csv')

# ED Fig.4D, Mollweide projection of 2 eyes --------------------------------

xy_ashape <- ashape(ucl_rot_Mo2[ind_left_cone, 1:2] +
Expand Down
Loading