diff --git a/docs/404.html b/docs/404.html index 66f967a2..d0dc1084 100644 --- a/docs/404.html +++ b/docs/404.html @@ -79,13 +79,19 @@ hemibrainr - 0.2.0 + 0.3.0
diff --git a/docs/articles/flywire.html b/docs/articles/flywire.html index f7a8d5b8..853d1c13 100644 --- a/docs/articles/flywire.html +++ b/docs/articles/flywire.html @@ -38,12 +38,18 @@ hemibrainr - 0.2.0 + 0.3.0Let us get some neurons from the ‘flywire interest’ googlesheet:
# Get all the flywire IDs (updated regularly based on position information) users have flagged
-gs = googlesheets4::read_sheet(ss = options()$flywire_flagged_gsheet, sheet = "flywire")
+gs = googlesheets4::read_sheet(ss = options()$flywire_flagged_gsheet, sheet = "flywire")
# Get IDs for User 'Tots'
gs.chosen = subset(gs, User == "Tots")
@@ -350,7 +356,7 @@
# Load package
library(hemibrainr)
library(ggplot2)
-library(gplots)
+library(gplots)
library(dplyr)
library(plyr)
library(reshape2)
@@ -214,10 +220,10 @@
First let us get some clusterings for ALPNs and TONs based on their cross-correlation.
# TON correlation matrix
-cor.mat = lsa::cosine(conn.mat.scaled)
+cor.mat = lsa::cosine(conn.mat.scaled)
# ALPN correlation matrix
-cor.mat.2 = lsa::cosine(t(conn.mat.scaled))
+cor.mat.2 = lsa::cosine(t(conn.mat.scaled))
# Grey tone for heatmap
heatmap.cols = circlize::colorRamp2(c(-1, -0.5, -0.25, 0, 0.25, 0.5, 1),
@@ -233,7 +239,7 @@
# dendrogram colours
-apricot = colorRampPalette(LaCroixColoR::lacroix_palette("Apricot"))
+apricot = colorRampPalette(LaCroixColoR::lacroix_palette("Apricot"))
# clustering
cclus = dendroextras::color_clusters(hclust(as.dist(1-cor.mat), method = "ward.D2"), h = 0.1, col = apricot)
@@ -241,10 +247,10 @@
Plot dendrograms:
+plot(cclus)
We can see what our data like quickly, by plotting some simple heatmaps:
# Normalised matrix
@@ -416,7 +422,7 @@
diff --git a/docs/articles/hemibrain_axons_dendrites.html b/docs/articles/hemibrain_axons_dendrites.html
index aa20ba9b..1568f7a4 100644
--- a/docs/articles/hemibrain_axons_dendrites.html
+++ b/docs/articles/hemibrain_axons_dendrites.html
@@ -38,12 +38,18 @@
hemibrainr
- 0.2.0
+ 0.3.0
character vector, a vector of valid flywire IDs
whether to get presynapses, postsynapses or both.
character vector else not used i NULL
. A vector of
@@ -205,16 +235,61 @@
logical, whether or not to write a .csv
output file,
-ready for import into flywire. One for each neuron, named by
+ready for import into flywire for each neuron. They will be named using the
+pattern "flywire_<fw.id>_synapse_annotations.csv"
and written to
csv.path
.
character, the path to which to save .csv
files.
Output path for CSV files (defaults to current working +directory)
if NLLL
there is no subsetting. If a mesh3d
+object, only points inside this volume are chosen.
further arguments passed to fafbseg::flywire_partners
, when
+db
is NULL
.
a data.frame
of xyz coordinates in flywire voxel space -to
+write as a flywire annotation .csv file. Can contains other columns.
the column in xyz
to use for the Description field
+of the final .csv
.
the name of the .csv file to be saved
if (FALSE) { +csv = flywire_annotations_for_synapses(fw.id = "720575940616046363", +direction = "inputs", +partners = c("720575940628113292", +"720575940610903062", +"720575940611661805", +"720575940628115084", +"720575940612337575", +"720575940618976297", +"720575940619059497", +"720575940616852894", +"720575940629359076", +"720575940632437856", +"720575940624804248", +"720575940613725708"), +db = NULL, keep.dist.nm = NULL, cleft_scores.thresh = 0, sample = NULL) +} +
meta data for flywire neurons, e.g. as retreived using flywire_meta
. Used to efficiently input flywire.xyz
column if only a flywire.id
entry has been given.
+
meta data for flywire neurons, e.g. as retrieved using flywire_meta
. Used to efficiently input flywire.xyz
column if only a flywire.id
entry has been given.
Only works if that id is also in this provided data.frame
, meta
.
integer, sometimes fafbseg::flywire_xyz2id
fails due to a server timeout. This is the number of times to re-arrempt failed calls before accepting defeat.
integer, sometimes fafbseg::flywire_xyz2id
fails due to a server timeout. This is the number of times to re-attempt failed calls before accepting defeat.
logical. If TRUE
then nat::neuronlistz
is used to resad neurons from a .zip
archive. Otherwise, nat::neuronlistfh
is used to read neurons from a .rds
file with a linked 'data' folder.
-The .zip
method is preffered. Both methods load a dynamic neuronlist, which only loads skeleton data into memroy at the point where it is processed.
logical. If TRUE
then nat::neuronlistz
is used to read neurons from a .zip
archive. Otherwise, nat::neuronlistfh
is used to read neurons from a .rds
file with a linked 'data' folder.
+The .zip
method is preferred. Both methods load a dynamic neuronlist, which only loads skeleton data into memory at the point where it is processed.
a neuronlist, matrix of x,y,z position or flywire ID to add to a +
a neuronlist
, matrix of x,y,z position or flywire ID to add to a
Google sheet that records flywire positions
flagged to be processed into neuron skeletons that can be called by flywire_neurons
.
Many predicted Buhmann synapses may be located at one real synapse. Collapse Buhmann predicted flywire synapses into smaller units using a hierarchical clustering -based on the Eucliean distances between predicted 'presynapses'.
+based on the Euclidean distances between predicted 'presynapses'.flywire_synapse_simplify( @@ -218,7 +224,7 @@Contents
logial, if TRUE
the relevant google sheet tab is opened in your browser. Else, a data.frame
of the tab is returned.
logical, if TRUE
the relevant google sheet tab is opened in your browser. Else, a data.frame
of the tab is returned.
character indicating the a flywire tracing google sheet. This defaults to the master 'lineage' tracing sheet used by the Drosphila Connectomics Group to +
character indicating the a flywire tracing google sheet. This defaults to the master 'lineage' tracing sheet used by the Drosophila Connectomics Group to store annotations on flywire neurons in different developmental lineages. Note: You may not have access.
wtherh the qurey is a vector of xyz positions, flywire supervoxel IDs or flywire IDs ("flywire.xyz"/"flywire.svid"/"flywire.id").
whether the query is a vector of xyz positions, flywire supervoxel IDs or flywire IDs ("flywire.xyz"/"flywire.svid"/"flywire.id").
character, the the colum in the google sheet that you wish to have unique, +
character, the the column in the google sheet that you wish to have unique,
when remove.duplicates
is TRUE
.
logical, whether or not to remvoe duplicate rows from google sheet. Currently, +
logical, whether or not to remove duplicate rows from google sheet. Currently,
this will also trigger reorder
even if it is set to FALSE
.
a google sheet of flywire neurons with columns: workflow
, whimsy
, flywire.id
. See standard_workflow
.
-This sheet is ead, and a separate tab in target_sheet
is made for each workflow.
target_sheet
is made for each workflow.
defaults to 1, so distances to soma are chiosen. If 7, then distance from primary neurite's branchpoint.
defaults to 1, so distances to soma are chosen. If 7, then distance from primary neurite's branchpoint.
A Google sheet object, as read by googlesheets4::read_sheet(selected_file)
.
A Google sheet object, as read by googlesheets4::read_sheet(selected_file)
.
User
column)
though you can look at other's assigned matches using superUser=TRUE
. Your selection is further narrowed
- by ommitting neurons whose matches have already been made, when using the default overwrite="TRUE"
. However, you
+ by omitting neurons whose matches have already been made, when using the default overwrite="TRUE"
. However, you
can change this to overwrite matches, and to review made matches.
logical, whether or not to only take 'well traced' flywire neurons, as annotated by the Drosophila Connectomics Group. This relies on the status column retreived +
logical, whether or not to only take 'well traced' flywire neurons, as annotated by the Drosophila Connectomics Group. This relies on the status column retrieved
by flywire_meta
.
A neuronlist
object
# \donttest{ +diff --git a/docs/reference/hemibrain_overlap_locality.html b/docs/reference/hemibrain_overlap_locality.html index 19d56022..cbe3fb4d 100644 --- a/docs/reference/hemibrain_overlap_locality.html +++ b/docs/reference/hemibrain_overlap_locality.html @@ -81,13 +81,19 @@ hemibrainr - 0.2.0 + 0.3.0if (FALSE) { da2.lod3=hemibrain_neuron_meshes("DA2_lPN", lod=3) da2.lod3 -#> 'neuronlist' containing 5 'mesh3d' objects and 'data.frame' with 14 vars [1.5 MB]# } +} if (FALSE) { da2=hemibrain_neuron_meshes("DA2_lPN") # lod 2 ~ 5x bigger than lod 3 but does look nicer @@ -240,7 +246,7 @@diff --git a/docs/reference/hemibrain_olfactory_layers.html b/docs/reference/hemibrain_olfactory_layers.html index b0754cb0..d94a9501 100644 --- a/docs/reference/hemibrain_olfactory_layers.html +++ b/docs/reference/hemibrain_olfactory_layers.html @@ -80,13 +80,19 @@ hemibrainr - 0.2.0 + 0.3.0Contents
logical. If TRUE
then nat::neuronlistz
is used to resad neurons from a .zip
archive. Otherwise, nat::neuronlistfh
is used to read neurons from a .rds
file with a linked 'data' folder.
-The .zip
method is preffered. Both methods load a dynamic neuronlist, which only loads skeleton data into memroy at the point where it is processed.
logical. If TRUE
then nat::neuronlistz
is used to read neurons from a .zip
archive. Otherwise, nat::neuronlistfh
is used to read neurons from a .rds
file with a linked 'data' folder.
+The .zip
method is preferred. Both methods load a dynamic neuronlist, which only loads skeleton data into memory at the point where it is processed.
the type of network drive to use. This must be a mounted drive, either a googledrive or dropbox, or soemthing configured with rclone. This is used when path is not given +
the type of network drive to use. This must be a mounted drive, either a googledrive or dropbox, or something configured with rclone. This is used when path is not given
to try to find the path to hemibrainr data. If in doubt, try the googledrive option. Access to dropbox version of data available at special request.
With rclone sheet you can mount it wherever you like, by default hemibrainr expects it at:
file.path(getwd(),"hemibrainr_data/")
A neuronlist
object containing point clouds for neuron lineage clones. In the meta-data, it might be useful for some users to note that
you will get:
"Harenstein_Lineage" The Hartenstein lineage name based on expert review of light level data from the V. Hartenstein group (Wong 2013, Lovick 2013). +
"Hartenstein_Lineage" The Hartenstein lineage name based on expert review of light level data from the V. Hartenstein group (Wong 2013, Lovick 2013).
See hemibrain_hemilineages
.
"ItoLee_Lineage" Lineage name, data from the K. Ito and T. Lee groups (Yu 2013, Ito 2013).
See hemibrain_hemilineages
"side" The hemisphere of the brain onto which thisa clone is registered
"side" The hemisphere of the brain onto which this clone is registered
logical. If TRUE
, and transmitter identities are given in each neuron's meta data at neuron$connectors, then synapses.
-are plotted in their transmitter colours. Transmitter identity is given by the colour of a hlow around each synapse. The colours correspond to entries in paper_colours
.
paper_colours
.
Whether to combine into one charcter vector. Words +
Whether to combine into one character vector. Words
will be separated by the character entered here. Default NULL
, is not to combine.