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

Details for overlay "col" option lacking #17

Open
gdevenyi opened this issue Sep 2, 2020 · 1 comment
Open

Details for overlay "col" option lacking #17

gdevenyi opened this issue Sep 2, 2020 · 1 comment

Comments

@gdevenyi
Copy link

gdevenyi commented Sep 2, 2020

Documentation for overlay says:


col | The colour scale. See defaultCol for default.

But defaultCol doesn't seem to be exported such that I can read any docs.

@gdevenyi
Copy link
Author

gdevenyi commented Sep 2, 2020

Is a small wrapper around colorRampPalette

MRIcrotome/R/gridImage.R

Lines 107 to 113 in ce01c93

defaultCol <- function() {
getOption("MRIcrotomeCol", colorRampPalette(c("red", "yellow"))(255))
}
defaultRCol <- function() {
getOption("MRIcrotomeRcol", colorRampPalette(c("blue", "turquoise1"))(255))
}

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