Skip to content

Commit

Permalink
Small doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed May 29, 2020
1 parent df515c0 commit 5c346d8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
18 changes: 9 additions & 9 deletions R/nat-package.R
Expand Up @@ -53,16 +53,16 @@
#' streamline arithmetic (e.g. scaling all the points in all neurons see
#' \code{\link{*.neuronlist}}) and transformations (see \bold{Transformations}
#' section below and \code{\link{xform}}). Arbitrary functions can be applied
#' to each individual neuron can be applied using the \code{\link{nlapply}}
#' function, which also provides options for progress bars and simple
#' parallelisation.
#' to each individual neuron using the \code{\link{nlapply}} function, which
#' also provides options for progress bars and simple parallelisation.
#'
#' @section Transformations: \code{\link{neuron}} or \code{\link{dotprops}}
#' objects can be transformed from e.g. sample to template brain space using
#' affine or non-rigid registrations, typically calculated with the open
#' source CMTK package available at \url{www.nitrc.org/projects/cmtk/}, see
#' ?\link{cmtk} for installation details. The function \code{\link{xform}} has
#' methods to deal with a variety of types of interest.
#' affine or non-rigid registrations. \bold{nat} has built in support for
#' registrations calculated with the open source CMTK package available at
#' \url{www.nitrc.org/projects/cmtk}. See ?\link{cmtk} for installation
#' details. The function \code{\link{xform}} has methods to deal with a
#' variety of types of interest.
#'
#' @section 3D Image Data: In addition to data types defined by unstructured
#' collections of 3D vertices such as \code{\link{neuron}},
Expand Down Expand Up @@ -115,8 +115,8 @@
#'
#' @section plotly Package: Since \bold{nat} v1.9.2 there is support for
#' \code{\link[plotly:plot_ly]{plotly}} as an alternative 3D visualisation
#' engine. You can set \code{option(nat.plotengine='plotly')} to make this
#' the default. See the 3D graphics vignette for further details.
#' engine. You can set \code{option(nat.plotengine='plotly')} to make this the
#' default. See the 3D graphics vignette for further details.
#'
#' @section File Formats: \bold{nat} supports multiple input and output data
#' formats for the object classes. There is a registry-based mechanism which
Expand Down
3 changes: 1 addition & 2 deletions R/neuron.R
Expand Up @@ -918,8 +918,7 @@ simplify_neuron <- function(x, n=1, invert=FALSE, ...) {
# The approach is to find the longest tree (lets call it spine) from the root to the
# farthest leaf node first..
# Then additional branches are added to the spine such that they are longest that can be
# added..

# added.
for (i in 0:n) {
if (i == 0) {
# Step 4a: Compute the spine, so for that compute the farthest leaf node
Expand Down
18 changes: 9 additions & 9 deletions man/nat-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c346d8

Please sign in to comment.