Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbates committed Jul 2, 2024
0 parents commit 162f711
Show file tree
Hide file tree
Showing 139 changed files with 7,353 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^\.github$
^_pkgdown\.yml$
^docs$
^pkgdown$
^spare$
^vignettes/articles$

1 change: 1 addition & 0 deletions .Rproj.user/CFBDAB7C/cpp-definition-cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
5 changes: 5 additions & 0 deletions .Rproj.user/CFBDAB7C/pcs/debug-breakpoints.pper
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"debugBreakpointsState": {
"breakpoints": []
}
}
9 changes: 9 additions & 0 deletions .Rproj.user/CFBDAB7C/pcs/files-pane.pper
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"sortOrder": [
{
"columnIndex": 2,
"ascending": true
}
],
"path": "~/projects/flyconnectome/bancr/R"
}
17 changes: 17 additions & 0 deletions .Rproj.user/CFBDAB7C/pcs/find-replace-in-files.pper
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"dialog-state": {
"query": "with_banc <- ",
"path": "",
"regex": false,
"caseSensitive": false,
"wholeWord": false,
"filePatterns": [],
"useGitGrep": true,
"excludeGitIgnore": true,
"excludeFilePatterns": [],
"resultsCount": 1,
"errorCount": 0,
"replaceErrors": "",
"projectRelative": true
}
}
3 changes: 3 additions & 0 deletions .Rproj.user/CFBDAB7C/pcs/source-pane.pper
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"activeTab": 9
}
14 changes: 14 additions & 0 deletions .Rproj.user/CFBDAB7C/pcs/windowlayoutstate.pper
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"left": {
"splitterpos": 447,
"topwindowstate": "NORMAL",
"panelheight": 1068,
"windowheight": 1106
},
"right": {
"splitterpos": 667,
"topwindowstate": "NORMAL",
"panelheight": 1068,
"windowheight": 1106
}
}
5 changes: 5 additions & 0 deletions .Rproj.user/CFBDAB7C/pcs/workbench-pane.pper
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"TabSet1": 1,
"TabSet2": 3,
"TabZoom": {}
}
8 changes: 8 additions & 0 deletions .Rproj.user/CFBDAB7C/persistent-state
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build-last-errors="[]"
build-last-errors-base-dir=""
build-last-outputs="[]"
compile_pdf_state="{\"tab_visible\":false,\"running\":false,\"target_file\":\"\",\"output\":\"\",\"errors\":[]}"
files.monitored-path=""
find-in-files-state="{\"handle\":\"d7d83eba511648b0881b951fbda0566a\",\"input\":\"with_banc <- \",\"path\":\"~/projects/flyconnectome/bancr\",\"regex\":false,\"ignoreCase\":true,\"results\":{\"file\":[\"/Users/abates/projects/flyconnectome/bancr/R/urls.R\"],\"line\":[94],\"lineValue\":[\"with_banc <- function(expr) {\"],\"matchOn\":[[0]],\"matchOff\":[[13]],\"replaceMatchOn\":[[]],\"replaceMatchOff\":[[]]},\"running\":false,\"replace\":false,\"preview\":false,\"gitFlag\":true,\"replacePattern\":\"\"}"
imageDirtyState="1"
saveActionState="-1"
5 changes: 5 additions & 0 deletions .Rproj.user/CFBDAB7C/rmd-outputs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@





1 change: 1 addition & 0 deletions .Rproj.user/CFBDAB7C/saved_source_markers
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"active_set":"","sets":[]}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/170255FE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "3,2",
"scrollLine": "0"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/1AB56D50
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "20,54",
"scrollLine": "0"
}
7 changes: 7 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/2546FDEB
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "29,16",
"scrollLine": "0"
}
7 changes: 7 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/71C3E99E
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "10,0",
"scrollLine": "0"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/98EB579C
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "11,41",
"scrollLine": "0"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/B8C1D536
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "20,54",
"scrollLine": "17"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/BBFCF377
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "76,77",
"scrollLine": "64"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/C515B41F
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "76,18",
"scrollLine": "52"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/C849807D
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "10,2",
"scrollLine": "0"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/D1A06175
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "51,0",
"scrollLine": "33"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/D76AB8BB
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "24,32",
"scrollLine": "21"
}
4 changes: 4 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/D8F28556
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"source_window_id": "",
"Source": "Source"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/D9F4CE9F
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "88,0",
"scrollLine": "50"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/E2C9333F
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "5,58",
"scrollLine": "0"
}
7 changes: 7 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/E6B28C40
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "5,2",
"scrollLine": "0"
}
6 changes: 6 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/ECC51B98
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "1,0",
"scrollLine": "0"
}
4 changes: 4 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/F1347A13
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"source_window_id": "",
"Source": "Source"
}
17 changes: 17 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/prop/INDEX
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
~%2F.Renviron="F1347A13"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FDESCRIPTION="98EB579C"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fcave-tables.R="2546FDEB"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fcave.R="1AB56D50"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fcloudvolume.R="D9F4CE9F"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fdata.R="E2C9333F"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Ffancr-package.R="D8F28556"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fl2.R="C515B41F"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fmeshes.R="B8C1D536"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fpartners.R="C849807D"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fsynapses.R="E6B28C40"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Furls.R="BBFCF377"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fxform.R="ECC51B98"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fzetta-api.R="D76AB8BB"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FR%2Fzzz.R="170255FE"
~%2Fprojects%2Fflyconnectome%2Fbancr%2FREADME.md="D1A06175"
~%2Fprojects%2Fflyconnectome%2Fbancr%2Fdata%2FUntitled.R="71C3E99E"
26 changes: 26 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/session-1163E1ED/905EC600
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "905EC600",
"path": "~/projects/flyconnectome/bancr/R/zzz.R",
"project_path": "R/zzz.R",
"type": "r_source",
"hash": "566786109",
"contents": "",
"dirty": false,
"created": 1719940498901.0,
"source_on_save": false,
"relative_order": 2,
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "3,3",
"scrollLine": "0"
},
"folds": "",
"lastKnownWriteTime": 1719940505,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1719940505707,
"read_only": false,
"read_only_alternatives": []
}
13 changes: 13 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/session-1163E1ED/905EC600-contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.onLoad <- function(libname, pkgname) {

# make banc4<->banc3 bridging registrations available
#register_banc3to4()
invisible()
}

.onAttach <- function(libname, pkgname) {
packageStartupMessage(
'Do `choose_banc()` to use many fafbseg::flywire_* functions!\n',
'Use dr_banc() to get a report on your installation.\n',
'Trouble? Visit https://flyconnectome.github.io/bancr/SUPPORT.html or #code on banc Slack')
}
26 changes: 26 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/session-1163E1ED/A4D6ACF5
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "A4D6ACF5",
"path": "~/projects/flyconnectome/bancr/R/xform.R",
"project_path": "R/xform.R",
"type": "r_source",
"hash": "0",
"contents": "",
"dirty": false,
"created": 1719940460902.0,
"source_on_save": false,
"relative_order": 1,
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "1,0",
"scrollLine": "0"
},
"folds": "",
"lastKnownWriteTime": 1719940475,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1719940475237,
"read_only": false,
"read_only_alternatives": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file.
26 changes: 26 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/session-964ADB76/13B4928A
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"id": "13B4928A",
"path": "~/projects/flyconnectome/bancr/R/data.R",
"project_path": "R/data.R",
"type": "r_source",
"hash": "3914055777",
"contents": "",
"dirty": false,
"created": 1719274090397.0,
"source_on_save": false,
"relative_order": 8,
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "5,58",
"scrollLine": "0"
},
"folds": "",
"lastKnownWriteTime": 1719893237,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1719893237584,
"read_only": false,
"read_only_alternatives": []
}
22 changes: 22 additions & 0 deletions .Rproj.user/CFBDAB7C/sources/session-964ADB76/13B4928A-contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#' Simplified tissue surface of BANC
#'
#' @name banc.surf
#' @docType data
#' @description This is unsymmetrical and not a normalised version of the mesh.
#' It is the outline of the dataset in native voxel space.
#'
#' @examples
#' \dontrun{
#' # Depends on nat
#' library(nat)
#' rgl::wire3d(banc.surf)
#' }
"banc.surf"

# How it was obtained:
# res <- httr::GET("https://www.googleapis.com/storage/v1/b/zetta_lee_fly_cns_001_kisuk/o/final%2Fv2%2Fvolume_meshes%2Fmeshes%2F1%3A0.drc?alt=media&neuroglancer=610000b05b6497edcf20b78f29516970")
# httr::stop_for_status(res)
# bytes <- httr::content(res, as = "raw")
# banc.mesh <- decode_neuroglancer_mesh(bytes)
# banc.surf <- as.hxsurf(banc.mesh)
# save(banc.surf, file="data/BANC.surf.rda")
Loading

0 comments on commit 162f711

Please sign in to comment.