Description Usage Arguments Details
View source: R/contribute-atlas.R
This function will clone an existing ggseg atlas, and rename files and substitute strings in files to prepare a repository for ggseg atlas constribution.
1 2 3 4 5 6 7 | make_ggseg_repo(
atlas_name,
package_name,
directory = package_name,
git_init = TRUE,
remote_repo = NULL
)
|
atlas_name |
name for atlases, should be lower snake-case |
package_name |
package name in snake case |
directory |
directory to place the atlas in, defaults to package name |
git_init |
should git repo be initiated |
remote_repo |
a remote git repository to push to (must already exist) |
This process is not perfect, and you will need to go through files and make sure the information is correct, add data to the data-folder, alter atlas description in R-folder, make sure tests run in tests/testthat (comment out what is not necessary), etc.
At the end, a complete atlas ready for addition to ggsegExtra has noe errors and no warnings, but notes on data size are acceptable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.