Package: SMARTTR 1.0.2

Michelle Jin

SMARTTR: Mapping, Analysis, and Visualization Package for Brain-Wide Dual-Ensemble Coronal Datasets

A workflow designed for the high-throughput mapping and analysis of dual-labelled ensemble datasets. stands for simple multi-ensemble atlas registration and statistical testing in R. Genetic activity-tagging strategies in mice allow for investigation of neural ensembles underlying behavior during multiple time points. This package provides a streamlined API for storing metadata related to imaging, animal subject, and experimental parameters and groupings. Data management is intrinsically built into the package, which helps automate the process of combining ensemble datasets across multiple images, animals, and experimental groupings. This workflow is compatible with importing external datasets, and provides a set of built-in analysis and visualization functions for network analysis for each ensemble dataset.

Authors:Michelle Jin [aut, cre, cph], Simon Ogundare [ctb], Marcos Lanio [ctb]

SMARTTR_1.0.2.tar.gz
SMARTTR_1.0.2.zip(r-4.7-any)SMARTTR_1.0.2.zip(r-4.6-any)SMARTTR_1.0.2.zip(r-4.5-any)
SMARTTR_1.0.2.tgz(r-4.6-any)SMARTTR_1.0.2.tgz(r-4.5-any)
SMARTTR_1.0.2.tar.gz(r-4.7-any)SMARTTR_1.0.2.tar.gz(r-4.6-any)
SMARTTR_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SMARTTR/json (API)

# Install 'SMARTTR' in R:
install.packages('SMARTTR', repos = c('https://mjin1812.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mjin1812/smarttr/issues

Pkgdown/docs site:https://mjin1812.github.io

Datasets:

On CRAN:

Conda:

1.70 score 1 stars 59 exports 94 dependencies

Last updated from:28106df4bd. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK176
source / vignettesOK257
linux-releaseOK177
macos-releaseOK244
macos-oldrelOK148
windows-develOK113
windows-releaseOK81
windows-oldrelOK95
wasm-releaseOK136

Exports:add_mouseadd_sliceadjust_brain_outlinecheck_ontology_codingcheck_redundant_parentscombine_cell_countscorrelation_diff_permutationcreate_joined_networkscreate_networkscreate_perm_diff_networkenough_mice_per_groupexclude_anatomyexclude_by_acronymexclude_by_keywordexclude_redundant_regionsexperimentexport_permutation_resultsfilter_regionsfind_outlier_countsget_cell_tableget_correlationsget_percent_colabelget_registered_volumesimport_mapped_datasetsimport_segmentation_customimport_segmentation_ijmake_segmentation_objectmap_cells_to_atlasmousenormalize_cell_countsnormalize_colabel_countsparallel_coordinate_plotplot_betweenness_regionsplot_correlation_heatmapsplot_degree_distributionsplot_degree_regionsplot_joined_networksplot_mean_between_centralityplot_mean_clust_coeffplot_mean_degreeplot_mean_global_efficplot_networksplot_normalized_countsplot_percent_colabelplot_perm_diff_networkread_check_fileregisterreset_mouse_rootrewire_networksave_experimentsave_mousesemsimplify_by_keywordssimplify_cell_countsimplify_vec_by_keywordsslicesummarise_networkssummarize_null_networksvolcano_plot

Dependencies:backportsbase64encbitbit64bslibcachemcellrangercheckmateclicliprclustercolorspacecpp11crayondata.tabledigestdplyrevaluatefarverfastmapfontawesomeforcatsforeignFormulafsgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetsigraphisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemimennetpillarpkgconfigpolyclipprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppRcppArmadilloreadrreadxlrematchrlangrmarkdownrpartrstudioapiS7sassscalesstringdiststringistringrsystemfontstibbletidygraphtidyrtidyselecttinytextweenrtzdbutf8vctrsviridisviridisLitevroomwithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Add mouse object to an experimentadd_mouse
Add slice to a mouse objectadd_slice
Adjust brain outline.adjust_brain_outline
attr2matchattr2match
Checks the acronyms and full length region names to match with internally stored ontologycheck_ontology_coding
Check for redundant parent regions included in a list of acronyms in a plate. For example, if all the the subregions for the hypothalamus are represented, the HY should not be included in the list.check_redundant_parents
Combine cell counts across all mice in an experiment into a single dataframe.combine_cell_counts
This function performs a permutation analysis to compare the region pairwise correlation coefficients between two different analysis groups.correlation_diff_permutation
Create a joined network to visualize overlapping connections with the same outer joined node set.create_joined_networks
Create graph objects for plotting different analysis subgroups.create_networks
Create a permutation difference network This function requires 'export_permutation_results()' to have been run for the specific permutation analysis of interest, with the 'filter_significant' parameter set to FALSE, so that users can set their own p-value threshold for filtering out edges.create_perm_diff_network
Detect atlas regions that only show up in a single slice object within a mouse.detect_single_slice_regions
Check if there are enough mice per analysis subgroup across all regions. if the normalized counts data sets are split by specified grouping variables. This function also automatically keeps only the common regions that are found across all comparison groups.enough_mice_per_group
exclude_anatomy (generic function)exclude_anatomy exclude_anatomy.mouse exclude_anatomy.slice
Excluded user chosen regions by entering acronymsexclude_by_acronym
Excluded user chosen regions by keywords found in long-form nameexclude_by_keyword
Exclude redundant regionsexclude_redundant_regions
Create an experiment objectexperiment
Export the permutation results as a csv file. This automatically saves into the tables folder.export_permutation_results
A filter with parameters for registration used in wholebrain functions.filter
Filters to chosen base parent regions and all child subregionsfilter_regions
Detect, log, and remove outlier counts. This function removes any normalized regions counts that are more than 'n_sd' standard deviations (default = 2) higher than their cohort mean.find_outlier_counts
Get cell tablesget_cell_table
Get regional cross correlations and their p-values in a correlation list object.get_correlations
Get the percentage of colabelled cells over either cfos or eyfp channels.get_percent_colabel
get_registered_volumes (generic function)get_registered_volumes get_registered_volumes.mouse get_registered_volumes.slice
Import externally mapped datasets into an experimentimport_mapped_datasets
import_segmentation (generic function)import_segmentation_custom import_segmentation_custom.mouse import_segmentation_custom.slice
import_segmentation (generic function)import_segmentation_ij import_segmentation_ij.mouse import_segmentation_ij.slice
make_segmentation_object (generic funciton)make_segmentation_object make_segmentation_object.mouse make_segmentation_object.slice
map_cells_to_atlas (generic function)map_cells_to_atlas map_cells_to_atlas.mouse map_cells_to_atlas.slice
Create a mouse objectmouse
Normalize cell counts per mm^2^ or by mm^3^ (if multiplying by the stack size).normalize_cell_counts
Normalize colabel counts over a designated denominator channel.normalize_colabel_counts
Ontologyontology
Unified Kim ontologyontology.unified
Create a parallel coordinate plotparallel_coordinate_plot
Plot the betweenness distributions across regionsplot_betweenness_regions
Plot correlation heatmapsplot_correlation_heatmaps
Plot the degree distributionsplot_degree_distributions
Plot the degree distributions across regionsplot_degree_regions
Plot the networks stored in an experiment objectplot_joined_networks
Plot mean betweenness centralityplot_mean_between_centrality
Plot mean clustering coefficientplot_mean_clust_coeff
Plot the mean degree of the networks in a barplot. Error bars are plotted as SEM.plot_mean_degree
Plot mean global efficiencyplot_mean_global_effic
Plot the networks stored in an experiment objectplot_networks
Plot normalized cell countsplot_normalized_counts
This function allows for plotting of colabelled cells over either the "cfos" or "eyfp" channels.plot_percent_colabel
Plot a permutation difference network e experiment objectplot_perm_diff_network
Print attributes of correlation_list objectprint.correlation_list
Print attributes of experiment objectprint.experiment
Print attributes of mouse objectprint.mouse
Print attributes of slice objectprint.slice
Read a csv or excel file as a tibble. Checks first that the file exists, and that it is a csv or xlsx format.read_check_file
Register (generic function)register register.mouse register.slice
Reset the root path for the folder containing the registration and segmentation data.reset_mouse_root
Implement rewiring algorithms to current empirical networks to randomize certain network properties.rewire_network
Save experiment datasave_experiment
Save mouse datasave_mouse
segmentation object compatible with wholebrain package functionssegmentation.object
Standard error functionsem
Simplify dataframe by keywords.simplify_by_keywords
Simplify the combined cell count tablesimplify_cell_count
Simplify vector of acronyms by keywords.simplify_vec_by_keywords
Create a slice objectslice
SMARTTR: A Mapping, Analysis, and Visualization Package for Wholebrain Dual-Ensemble Coronal Datasets.SMARTTR
Summarize multiple networks. calculate network statistics for each network. This is not meant to summarize networks created using 'create_joined_networks'.summarise_networks
Summarize the parameters of the rewired null networks generated by 'rewire_network()'summarize_null_networks
Plot the results of the permutation histogram used to determine the p-value of the pairwise region comparisonvolcano_plot