Skip to content

Commit 5299365

Browse files
committed
docs: update and improved navigation
1 parent 56eb891 commit 5299365

File tree

4 files changed

+84
-5
lines changed

4 files changed

+84
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: TrackMateR
22
Type: Package
33
Title: Working with TrackMate outputs in R
4-
Version: 0.2.1
4+
Version: 0.3.0
55
Authors@R:
66
person(given = "Stephen J",
77
family = "Royle",

README.Rmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ The standard output from a tracking session is in TrackMate XML format.
2626

2727
The goal of this R package is to import all of the data associated with the final filtered tracks in TrackMate for further analysis and visualization in R.
2828

29-
**This package is under development and should not be considered stable until its first release.**
30-
3129
## Installation
3230

3331
Once you have installed [R](https://cran.rstudio.com) and [RStudio Desktop](https://www.rstudio.com/products/rstudio/download/), you can install TrackMateR using devtools

_pkgdown.yml

Lines changed: 71 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,81 @@ authors:
55
href: https://quantixed.org
66

77
template:
8-
bootstrap: 5
9-
bootswatch: flatly
8+
params:
9+
bootswatch: flatly
1010

1111
repo:
1212
url:
1313
home: https://github.com/quantixed/TrackMateR/
1414
source: https://github.com/quantixed/TrackMateR/blob/master/
1515
issue: https://github.com/quantixed/TrackMateR/issues/
1616
user: https://github.com/quantixed/
17+
18+
navbar:
19+
left:
20+
- icon: fa-home fa-lg
21+
href: index.html
22+
- text: Getting Started
23+
href: articles/TrackMateR.html
24+
- text: Guides
25+
menu:
26+
- text: Comparison of multiple datasets
27+
href: articles/guides/comparison.html
28+
- text: Reference
29+
href: reference/index.html
30+
right:
31+
- icon: fa-github fa-lg
32+
href: https://github.com/quantixed/TrackMateR
33+
34+
reference:
35+
- title: Loading and correcting TrackMate data
36+
desc: >
37+
To start, TrackMate XML data needs to be read into R. It may need recalibrating
38+
if the data were captured with incorrect parameters.
39+
contents:
40+
- readTrackMateXML
41+
- correctTrackMateData
42+
- title: Automated reports
43+
desc: >
44+
TrackMateR can be used manually to have fine control over your analysis, however
45+
if you just want to analyse your data with default parameters, these two functions will
46+
process one dataset, or many
47+
contents:
48+
- reportDataset
49+
- compareDatasets
50+
- title: Analysing track dynamics
51+
desc: >
52+
To analyse track dynamics, there are several functions to calculate them.
53+
These functions are called (with set parameters) in the automated workflows
54+
and all of them must be called to make a report.
55+
contents:
56+
- calculateAlpha
57+
- calculateFD
58+
- calculateJD
59+
- calculateMSD
60+
- calculateTrackDensity
61+
- fittingJD
62+
- title: Generating reports and summaries
63+
desc: >
64+
Reports and summaries are collections of plots. They can be generated automatically
65+
using the automated workflows, or they can be made manually after fine-tuning the analysis
66+
of track dynamics.
67+
contents:
68+
- makeSummaryReport
69+
- makeComparison
70+
- title: Plotting functions
71+
desc: >
72+
The autoimated workflows and the reports that can be generated with TrackMateR
73+
use several different plotting functions.
74+
contents:
75+
- plot_tm_MSD
76+
- plot_tm_NMSD
77+
- plot_tm_allTracks
78+
- plot_tm_alpha
79+
- plot_tm_cumdistOverTime
80+
- plot_tm_displacementHist
81+
- plot_tm_displacementOverTime
82+
- plot_tm_fd
83+
- plot_tm_neighbours
84+
- plot_tm_speed
85+
- plot_tm_width

vignettes/comparison.Rmd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ In the example above, the code will produce the following in a directory called
8181

8282
That is, the individual reports are saved with a new name (regardless of the original XML filename), all datasets are combined (per condition) in `combined.pdf` and a comparison of a summary of all conditions is saved in the top level folder (`comparison.pdf`).
8383

84+
As well as graphical outputs, `compareDatasets()` saves several csv files of data (to `Outputs/Data/`).
85+
In each condition folder, the data frames are collated and saved.
86+
This includes: TrackMate data, MSD, jump distance and fractal dimension data.
87+
There is also a csv file of the data frame used to plot the average msd for this condition.
88+
89+
Above the condition folders, three csv files are saved.
90+
A collation of the msd summary data `allMSCurves.csv` for all conditions; summary data per dataset `allComparison.csv` which is the data frame used for making the comparison plots; and `allTraceData.csv` which is a data frame of properties per trace per dataset for all conditions.
91+
92+
The idea with these files is that a user can load them back into R and process the data in new ways and go beyond TrackMateR.
93+
An advanced user can make their own data frames by running TrackMateR functions.
94+
A good place to start is to peruse the code for `compareDatasets()` and modify from there.
95+
8496
## Recalibrating TrackMate files
8597

8698
It is possible to recalibrate TrackMate XML files _en masse_ by using a CSV file in the condition subfolder containing the XML files.

0 commit comments

Comments
 (0)