Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control side placement of addtitle? #16

Open
gdevenyi opened this issue Jun 12, 2020 · 0 comments
Open

Control side placement of addtitle? #16

gdevenyi opened this issue Jun 12, 2020 · 0 comments

Comments

@gdevenyi
Copy link

In the example vignette the addtitle on row layout adds the titles on the left.

In my test code, they're added on the right:

sliceSeries(nrow = 1, ncol= 5, begin = 25 + 20, end = 298 - 10, dimension = 2) %>%  
  anatomy(anatVol, low=1, high=5.9) %>%
  addtitle("Coronal") %>%
  overlay(mincArray(model, predictor),
    low=round(thresholds["0.05",predictor],digits=2), 
    high=round(thresholds["0.01",predictor],digits=2), 
    symmetric = T, alpha=0.6) %>%    
  sliceSeries(nrow = 1, ncol= 5, begin = 24 + 15, end = 246 - 10, dimension = 1) %>%  
  anatomy(anatVol, low=1, high=5.9) %>%
  addtitle("Sagittal") %>%
  overlay(mincArray(model, predictor),   
    low=round(thresholds["0.05",predictor],digits=2),
    high=round(thresholds["0.01",predictor],digits=2),
    symmetric = T, alpha=0.6) %>%
  sliceSeries(nrow = 1, ncol= 5, begin = 32 + 30, end = 252 - 20, dimension = 3) %>% 
  anatomy(anatVol, low=1, high=5.9) %>%
  addtitle("Axial") %>%
  overlay(mincArray(model, predictor),
    low=round(thresholds["0.05",predictor],digits=2),
    high=round(thresholds["0.01",predictor],digits=2),
    symmetric = T, alpha=0.6) %>%   
  legend(predictor) %>%
  draw(layout = "row")

Is there control for this?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant