Last updated: 2021-10-01

Checks: 5 2

Knit directory: MS_lesions/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

The global environment had objects present when the code in the R Markdown file was run. These objects can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment. Use wflow_publish or wflow_build to ensure that the code is always run in an empty environment.

The following objects were defined in the global environment when these results were created:

Name Class Size
q function 1008 bytes

The command set.seed(20210118) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 62b9816. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rhistory
    Ignored:    .Rprofile
    Ignored:    .Rproj.user/
    Ignored:    ._MS_lesions.sublime-project
    Ignored:    .log/
    Ignored:    MS_lesions.sublime-project
    Ignored:    MS_lesions.sublime-workspace
    Ignored:    analysis/.__site.yml
    Ignored:    analysis/fig_muscat_cache/
    Ignored:    analysis/ms02_doublet_id_cache/
    Ignored:    analysis/ms03_SampleQC_cache/
    Ignored:    analysis/ms04_conos_cache/
    Ignored:    analysis/ms05_splitting_cache/
    Ignored:    analysis/ms06_sccaf_cache/
    Ignored:    analysis/ms07_soup_cache/
    Ignored:    analysis/ms08_modules_cache/
    Ignored:    analysis/ms08_modules_pseudobulk_cache/
    Ignored:    analysis/ms09_ancombc_clean_1e3_cache/
    Ignored:    analysis/ms09_ancombc_clean_2e3_cache/
    Ignored:    analysis/ms10_muscat_run01_cache/
    Ignored:    analysis/ms10_muscat_run02_cache/
    Ignored:    analysis/ms10_muscat_template_broad_cache/
    Ignored:    analysis/ms10_muscat_template_fine_cache/
    Ignored:    analysis/ms11_paga_cache/
    Ignored:    analysis/ms12_markers_cache/
    Ignored:    analysis/ms13_labelling_cache/
    Ignored:    analysis/ms14_lesions_cache/
    Ignored:    analysis/ms15_mofa_sample_gm_cache/
    Ignored:    analysis/ms15_mofa_sample_gm_superclean_cache/
    Ignored:    analysis/ms15_mofa_sample_wm_cache/
    Ignored:    analysis/ms15_mofa_sample_wm_new_meta_cache/
    Ignored:    analysis/ms15_mofa_sample_wm_superclean_cache/
    Ignored:    analysis/ms15_patients_cache/
    Ignored:    analysis/ms15_patients_gm_cache/
    Ignored:    analysis/ms15_patients_sample_level_cache/
    Ignored:    analysis/ms15_patients_w_ms_cache/
    Ignored:    analysis/supp06_sccaf_cache/
    Ignored:    analysis/supp07_superclean_check_cache/
    Ignored:    analysis/supp09_ancombc_cache/
    Ignored:    analysis/supp09_ancombc_mixed_cache/
    Ignored:    analysis/supp10_muscat_cache/
    Ignored:    analysis/supp10_muscat_ctrl_gm_vs_wm_cache/
    Ignored:    analysis/supp10_muscat_heatmaps_cache/
    Ignored:    analysis/supp10_muscat_olg_pc1_cache/
    Ignored:    analysis/supp10_muscat_olg_pc2_cache/
    Ignored:    analysis/supp10_muscat_olg_pc_cache/
    Ignored:    analysis/supp10_muscat_regression_cache/
    Ignored:    analysis/supp10_muscat_soup_cache/
    Ignored:    code/.recovery/
    Ignored:    code/muscat_plan.txt
    Ignored:    data/
    Ignored:    figures/
    Ignored:    output/
    Ignored:    tmp/

Untracked files:
    Untracked:  Rplots.pdf
    Untracked:  analysis/ms15_mofa_sample_wm_final_meta.Rmd
    Untracked:  analysis/supp09_ancombc_mixed.Rmd
    Untracked:  code/ancom_v2.1.R
    Untracked:  code/dev_check_oligo_groupings_20210924.R
    Untracked:  code/dev_checking_new_meta_immune_20210930.R
    Untracked:  code/jobs/muscat_job_2021-09-22_broad.slurm
    Untracked:  code/jobs/muscat_job_2021-09-30_broad_gm.slurm
    Untracked:  code/jobs/muscat_job_2021-09-30_broad_wm.slurm
    Untracked:  code/metadata_update_plan_20210928.txt
    Untracked:  run09_sel_gs_oligos_new.png
    Untracked:  run09_sel_gs_oligos_old.png

Unstaged changes:
    Modified:   analysis/ms07_soup.Rmd
    Modified:   analysis/ms08_modules_pseudobulk.Rmd
    Modified:   analysis/ms09_ancombc.Rmd
    Modified:   analysis/ms10_muscat_template_broad.Rmd
    Modified:   analysis/ms14_lesions.Rmd
    Modified:   analysis/ms15_mofa_sample_wm_new_meta.Rmd
    Modified:   code/dev_check_pmi_distns_20210824.R
    Deleted:    code/dev_checking_hacked_pb_2021-07-16.R
    Modified:   code/dev_stan_cauchy_fits_2021-06-28.R
    Modified:   code/ms00_utils.R
    Modified:   code/ms07_soup.R
    Modified:   code/ms08_modules.R
    Modified:   code/ms09_ancombc.R
    Modified:   code/ms10_muscat_fns.R
    Modified:   code/ms10_muscat_runs.R
    Modified:   code/ms14_lesions.R
    Modified:   code/ms15_mofa.R
    Modified:   code/supp09_ancombc.R

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/ms09_ancombc.Rmd) and HTML (docs/ms09_ancombc.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 224491b Macnair 2021-09-03 Update ancom analysis with figures for paper
html 224491b Macnair 2021-09-03 Update ancom analysis with figures for paper
Rmd 841b6a5 Macnair 2021-08-11 Add CLR plots of all glial cells to ANCOM analysis
html 841b6a5 Macnair 2021-08-11 Add CLR plots of all glial cells to ANCOM analysis
Rmd f20d2da Macnair 2021-07-22 Add GM vs WM glial only to ANCOM-BC
html f20d2da Macnair 2021-07-22 Add GM vs WM glial only to ANCOM-BC
Rmd 9d1ab6c Macnair 2021-06-03 Updated ACNOM-BC with type_fine
html 9d1ab6c Macnair 2021-06-03 Updated ACNOM-BC with type_fine
html 71bf87c Macnair 2021-05-26 Tweaked ANCOM propns plots
Rmd c9c8c9a Macnair 2021-05-26 Updated ms09_ancombc with proportions of whole sample
html c9c8c9a Macnair 2021-05-26 Updated ms09_ancombc with proportions of whole sample
Rmd 58205c2 Macnair 2021-05-21 Update with random effects and markers
html 1600da1 Macnair 2021-05-12 Tweaked ANCOM CLR plots
html 9852840 Macnair 2021-05-12 Adding docs to repo for first time - massive!
Rmd 129c53d Macnair 2021-04-16 Renamed a lot of things to add ms07_soup

Notes

I’ve done a range of runs of ANCOM-BC with slightly different parameters, to see which works best. As usual, there’s not so much difference between them (which is good). Here’s a quick description of the runs:

  • lesions_WM_mad: Testing lesions vs healthy, WM only, samples with unusually high neuronal propn excluded.
  • lesions_WM_big_mad: Testing lesions vs healthy, WM only, samples with unusually high neuronal propn excluded, celltypes with very few cells excluded.
  • lesions_GM_mad: Testing lesions vs healthy, GM only, samples with unusually low neuronal propn excluded (actually only excludes one sample).
  • lesions_GM_big_mad: Testing lesions vs healthy, GM only, samples with unusually low neuronal propn excluded, celltypes with very few cells excluded.
  • lesions_WM_no_neuro: Testing lesions vs healthy, WM only, samples with unusually high neuronal propn excluded, restricted to non-neuronal celltypes only.
  • lesions_GM_neuro: Testing lesions vs healthy, GM only, samples with unusually low neuronal propn excluded, restricted to ONLY neuronal celltypes.
  • lesions_WM_all: Testing lesions vs healthy, WM only, all samples included.
  • lesions_GM_all: Testing lesions vs healthy, GM only, all samples included.
  • GM_vs_WM: Testing healthy GM vs healthy WM. This doesn’t work so well with ANCOM-BC, as it looks for a number of unchanging celltypes to use as a reference, and in this comparison it’s only OPCs that could plausibly not change between them.
  • lesions_WM_oligos: Testing lesions vs healthy, WM only, oligos + OPCs only, samples with unusually high neuronal propn excluded.
  • lesions_GM_oligos: Testing lesions vs healthy, GM only, oligos + OPCs only, samples with unusually high neuronal propn excluded.
  • GM_vs_WM_oligos: Testing healthy GM vs healthy WM, WM only, oligos + OPCs only.
  • ctrl_GM_vs_WM_glial: Testing healthy GM vs healthy WM, WM only, glial cells only.
  • MS_GM_vs_WM_glial: Testing sick GM vs healthy WM, WM only, glial cells only.

The same samples + celltypes are used in running scCODA, but in scCODA you have to manually specify a reference celltype that you assume doesn’t change. For this, I’ve used one broad celltype for each run, as follows:

  • lesions_WM_mad: Excitatory neurons
  • lesions_WM_big_mad: Excitatory neurons
  • lesions_GM_mad: Excitatory neurons
  • lesions_GM_big_mad: Excitatory neurons
  • lesions_WM_no_neuro: Astrocytes
  • lesions_GM_neuro: Excitatory neurons
  • lesions_WM_all: Excitatory neurons
  • lesions_GM_all: Excitatory neurons
  • ctrl_GM_vs_WM: OPCs / COPs
  • MS_GM_vs_WM: OPCs / COPs

Setup / definitions

Libraries

Helper functions

source('code/ms00_utils.R')
source('code/ms04_conos.R')
source('code/ms09_ancombc.R')

use_condaenv('sccoda', required=TRUE)
source_python('code/ms09_scCODA_fns.py')

Inputs

# define run
labels_f    = 'data/byhand_markers/validation_markers_2021-05-31.csv'
labelled_f  = 'output/ms13_labelling/conos_labelled_2021-05-31.txt.gz'
meta_f      = "data/metadata/metadata_checked_assumptions_20210928.xlsx"
byhand_f    = paste0('data/byhand_markers/Copy of Copy of ', 
  'Marker_selection_for_validation_MS_snucseq_30102020  ',
  'Ediinburgh.xlsx - final markers for Cartana panel.csv')

Outputs

# where to save?
save_dir    = 'output/ms09_ancombc'
date_tag    = '20211001'
if (!dir.exists(save_dir))
    dir.create(save_dir)

# strange samples
sample_vars = c('sample_id', 'matter', 'lesion_type', 
  'neuro_ok', 'neuro_prop', 'sample_source', 'subject_id', 
  'sex', 'age_scale', 'pmi_cat')
mad_cut     = 2

# define models
subset_list = list(
  lesions_WM_mad      = list(
    subset_spec = list(matter = 'WM', neuro_ok = TRUE)
    ),
  lesions_WM_big_mad  = list(
    subset_spec = list(matter = 'WM', neuro_ok = TRUE), 
    size_spec   = list(min_count = 10, min_prop = 0.1)),
  lesions_GM_mad      = list(
    subset_spec = list(matter = 'GM', neuro_ok = TRUE)
    ),
  lesions_GM_big_mad  = list(
    subset_spec = list(matter = 'GM', neuro_ok = TRUE), 
    size_spec   = list(min_count = 10, min_prop = 0.1)),
  lesions_WM_no_neuro = list(
    subset_spec = list(matter = 'WM'), 
    type_spec   = setdiff(broad_ord, 
      c('Excitatory neurons', 'Inhibitory neurons'))
    ),
  lesions_GM_neuro    = list(
    subset_spec = list(matter = 'GM', neuro_ok = TRUE), 
    type_spec   = c('Excitatory neurons', 'Inhibitory neurons')
    ),
  lesions_WM_all      = list(
    subset_spec = list(matter = 'WM')
    ),
  lesions_GM_all      = list(
    subset_spec = list(matter = 'GM')
    ),
  GM_vs_WM            = list(
    subset_spec = list(lesion_type = c('GM', 'WM'), neuro_ok = TRUE)
    ),
  lesions_WM_oligos   = list(
    subset_spec = list(matter = 'WM', neuro_ok = TRUE),
    type_spec   = c('Oligodendrocytes', 'OPCs / COPs')
    ),
  lesions_GM_oligos   = list(
    subset_spec = list(matter = 'GM', neuro_ok = TRUE),
    type_spec   = c('Oligodendrocytes', 'OPCs / COPs')
    ),
  GM_vs_WM_oligos     = list(
    subset_spec = list(lesion_type = c('GM', 'WM'), neuro_ok = TRUE),
    type_spec   = c('Oligodendrocytes', 'OPCs / COPs')
    ),
  ctrl_GM_vs_WM_glial      = list(
    subset_spec = list(lesion_type = c('GM', 'WM'), neuro_ok = TRUE), 
    type_spec   = c('Oligodendrocytes', 'OPCs / COPs', 'Astrocytes', 'Microglia')
    ),
  MS_GM_vs_WM_glial      = list(
    subset_spec = list(lesion_type = c('GML', 'NAGM', 'NAWM', 'AL', 'CAL', 'CIL', 'RL'), 
      neuro_ok = TRUE), 
    type_spec   = c('Oligodendrocytes', 'OPCs / COPs', 'Astrocytes', 'Microglia')
    )
  )
model_names = names(subset_list)
formulae    = list(
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ matter + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ lesion_type + sex + age_scale',
  '~ matter + sex + age_scale',
  '~ matter + sex + age_scale',
  '~ matter + sex + age_scale'
  ) %>% setNames(model_names)
names_list  = list(
  'Lesion types (WM, low neurons)',
  'Lesion types (WM, low neurons, large celltypes)',
  'Lesion types (GM, high neurons)',
  'Lesion types (GM, high neurons, large celltypes)',
  'Lesion types (WM, neurons excluded)',
  'Lesion types (GM, neurons only)',
  'Lesion types (WM, all)',
  'Lesion types (GM, all)',
  'GM vs WM',
  'Lesion types (WM, oligos + opcs)',
  'Lesion types (GM, oligos + opcs)',
  'GM vs WM (oligos + opcs)',
  'Healthy GM vs WM (neurons excluded)',
  'MS GM vs WM (neurons excluded)'
  ) %>% setNames(model_names)
whatplot_list  = list(
  'lesion_type',
  'lesion_type',
  'lesion_type',
  'lesion_type',
  'lesion_type',
  'lesion_type',
  'lesion_type',
  'lesion_type',
  'matter',
  'lesion_type',
  'lesion_type',
  'matter',
  'matter',
  'matter'
  ) %>% setNames(model_names)
ref_type_list  = list(
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`Astrocytes`          = 'astro-ref'),
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`Excitatory neurons`  = 'excit-ref'),
  c(`OPCs / COPs`         = 'opc_cop-ref'),
  c(`OPCs / COPs`         = 'opc_cop-ref'),
  c(`OPCs / COPs`         = 'opc_cop-ref'),
  c(`OPCs / COPs`         = 'opc_cop-ref'),
  c(`OPCs / COPs`         = 'opc_cop-ref'),
  c(`OPCs / COPs`         = 'opc_cop-ref')
  ) %>% setNames(model_names)

p_cut   = 0.05

# define filenames
ancom_pat   = sprintf('%s/ancom_obj_%s_%s.rds', save_dir, date_tag, '%s')

# define sccoda setup
n_results   = 20000L
n_burnin    = 5000L
coda_pat    = sprintf('%s/sccoda_obj_%s_%s.p', save_dir, date_tag, '%s')

Load inputs

labels_dt   = load_names_dt(labels_f) %>%
  .[, cluster_id := type_fine]
conos_dt    = load_labelled_dt(labelled_f, labels_f)
# meta_dt     = load_meta_dt(meta_f)
meta_dt     = load_meta_dt_from_xls(meta_f, outlier_samples = NULL)

Processing / calculations

conos_dt    = merge(conos_dt, meta_dt, by = 'sample_id') %>%
  add_neuro_props(mad_cut = mad_cut)
props_dt    = calc_props_dt(conos_dt, sample_vars)
counts_wide = calc_counts_wide(props_dt, sample_vars)
pca_list    = calc_pca(props_dt, by_what = 'sample')
pca_wm      = calc_pca(props_dt[matter == 'WM' & neuro_ok == TRUE], by_what = 'sample')
pca_gm      = calc_pca(props_dt[matter == 'GM' & neuro_ok == TRUE], by_what = 'sample')
# do fitting
n_models    = length(model_names)
bpparam     = MulticoreParam(workers = n_models)
bpstop()
bpstart()
ancom_list  = bplapply(seq.int(n_models),
  function(i) {
    nn          = model_names[[i]]
    if (!is.null(subset_list[[nn]]$type_spec)) {
      conos_tmp   = conos_dt[type_broad %in% subset_list[[nn]]$type_spec]
    } else {
      conos_tmp   = copy(conos_dt)
    }
    props_tmp   = calc_props_dt(conos_tmp, sample_vars)
    wide_tmp    = calc_counts_wide(props_tmp, sample_vars)
    fit_ancombc_fn(ancom_pat, nn, wide_tmp, subset_list[[nn]]$subset_spec, 
      subset_list[[nn]]$size_spec, formulae[[nn]], sample_vars, seed = i)
  }, BPPARAM = bpparam) %>% setNames(model_names)
bpstop()
# do fitting
coda_list = lapply(seq.int(n_models),
  function(i) {
    nn          = model_names[[i]]
    if (!is.null(subset_list[[nn]]$type_spec)) {
      conos_tmp   = conos_dt[type_broad %in% subset_list[[nn]]$type_spec]
    } else {
      conos_tmp   = copy(conos_dt)
    }

    # fit coda
    coda_obj    = run_sccoda(coda_pat, nn, 
      conos_tmp, sample_vars, ref_type_list[[nn]], 
      subset_list[[nn]]$subset_spec, subset_list[[nn]]$size_spec, 
      formulae[[nn]], num_results = n_results, num_burnin = n_burnin)
  }) %>% setNames(model_names)

Analysis

Check for outliers

Proportion of neurons by sample

(plot_neuro_prop(props_dt, mad_cut))

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

PCA of celltype proportions

for (what in c('all', 'WM', 'GM')) {
  cat('#### ', what, '\n')
  if (what == 'all') {
    print(plot_pca(pca_list))
  } else if (what == 'WM') {
    print(plot_pca(pca_wm))
  } else if (what == 'GM') {
    print(plot_pca(pca_gm))
  }
  cat('\n\n')
}

all

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

Cluster samples by celltype proportions

for (what in c('all', 'WM', 'GM')) {
  cat('### ', what, '\n')
  if (what == 'all') {
    draw(plot_clr_heatmap(props_dt), row_dend_width = unit(1, "in"))
  } else if (what == 'WM') {
    draw(plot_clr_heatmap(props_dt[matter == 'WM' & neuro_ok == TRUE]), 
      row_dend_width = unit(1, "in"))
  } else if (what == 'GM') {
    draw(plot_clr_heatmap(props_dt[matter == 'GM' & neuro_ok == TRUE]), 
      row_dend_width = unit(1, "in"))
  }
  cat('\n\n')
}

all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

WM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

Barplot of celltype proportions split by sample

types_list  = list(
  oligo_opc     = c('OPCs / COPs', 'Oligodendrocytes'),
  neurons       = c('Excitatory neurons', 'Inhibitory neurons'),
  micro_immune  = c('Microglia', 'Immune'),
  astro_opc     = c('OPCs / COPs', 'Astrocytes'),
  endo_peri     = c('Endothelial cells', 'Pericytes')
)
for (t in names(types_list)) {
  for (m in c('WM', 'GM')) {
    cat('### ', t, ', ', m, '\n')
    types   = types_list[[t]]
    print(plot_sample_splits(conos_dt[matter == m], types = types))
    cat('\n\n')
  }
}

oligo_opc , WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

oligo_opc , GM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

neurons , WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

neurons , GM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

micro_immune , WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

micro_immune , GM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

astro_opc , WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

astro_opc , GM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

endo_peri , WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

endo_peri , GM

Version Author Date
f20d2da Macnair 2021-07-22
71bf87c Macnair 2021-05-26
c9c8c9a Macnair 2021-05-26
9852840 Macnair 2021-05-12

CLR plots of celltype proportions

These plots show the broad variability between sample compositions, viewed at the log scale. A couple of notes:

  • The aspect ratio of the plot reflects how much variance each principal component accounts for.
  • The arrows show the directions in the plot corresponding to strongest positive change in celltype proportion.
  • Patients with more than one sample are labelled by colour; patients with only one are labelled by text on the plot.
for (t in names(types_list)) {
  for (m in c('WM', 'GM')) {
    cat('### ', t, ', ', m, '\n')
    types     = types_list[[t]]
    input_dt  = conos_dt[(matter == m) & (type_broad %in% types)]
    suppressWarnings(print(plot_sample_clrs(input_dt)))
    cat('\n\n')
  }
}

oligo_opc , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

oligo_opc , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

neurons , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

neurons , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

micro_immune , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

micro_immune , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

astro_opc , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

astro_opc , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

endo_peri , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

endo_peri , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

CLR plots of celltype proportions, neuron proportion outliers excluded

for (t in names(types_list)) {
  for (m in c('WM', 'GM')) {
    cat('### ', t, ', ', m, '\n')
    types     = types_list[[t]]
    input_dt  = conos_dt[(matter == m) & (neuro_ok == TRUE) & 
      type_broad %in% types]
    suppressWarnings(print(plot_sample_clrs(input_dt)))
    cat('\n\n')
  }
}

oligo_opc , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

oligo_opc , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

neurons , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

neurons , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

micro_immune , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

micro_immune , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

astro_opc , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

astro_opc , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

endo_peri , WM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

endo_peri , GM

Version Author Date
9d1ab6c Macnair 2021-06-03
1600da1 Macnair 2021-05-12
9852840 Macnair 2021-05-12

CLR plots of celltype proportions, glial only

for (m in c('WM', 'GM')) {
  cat('### ', m, '\n')
  input_dt  = conos_dt[(matter == m) & 
    # (neuro_ok == TRUE) & 
    !(type_broad %in% c('Excitatory neurons', 'Inhibitory neurons'))]
  suppressWarnings(print(plot_sample_clrs(input_dt)))
  cat('\n\n')
}

WM

Version Author Date
841b6a5 Macnair 2021-08-11

GM

Version Author Date
841b6a5 Macnair 2021-08-11

ANCOM CIs (signif only)

for (nn in model_names) {
  cat('### ', nn, '\n')
  print(plot_ancombc_ci(ancom_list[[nn]], counts_wide, names_list[[nn]],
    whatplot = whatplot_list[[nn]], reported_only = TRUE))
  cat('\n\n')
}

lesions_WM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_no_neuro

Version Author Date
224491b Macnair 2021-09-03
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_neuro

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM_vs_WM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM_vs_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

ctrl_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

MS_GM_vs_WM_glial

Version Author Date
f20d2da Macnair 2021-07-22

scCODA CIs (signif only)

for (nn in model_names) {
  # extract this model
  cat('### ', nn, '\n')
  print(plot_sccoda_ci(coda_list[[nn]], reported_only = TRUE))
  cat('\n\n')
}

lesions_WM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_WM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_GM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_GM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_WM_no_neuro

Version Author Date
224491b Macnair 2021-09-03
9d1ab6c Macnair 2021-06-03

lesions_GM_neuro

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_WM_all

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_GM_all

Version Author Date
9d1ab6c Macnair 2021-06-03

GM_vs_WM

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03

lesions_GM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03

GM_vs_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03

ctrl_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

MS_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

ANCOM-BC vs scCODA

for (nn in model_names) {
  # extract this model
  cat('### ', nn, '{.tabset}\n')
  print(plot_ancom_vs_sccoda(ancom_list[[nn]], coda_list[[nn]], labels_dt))
  cat('\n\n')
}

lesions_WM_mad

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_WM_big_mad

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_GM_mad

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_GM_big_mad

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_WM_no_neuro

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_GM_neuro

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_WM_all

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_GM_all

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

GM_vs_WM

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_WM_oligos

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

lesions_GM_oligos

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

GM_vs_WM_oligos

Version Author Date
f20d2da Macnair 2021-07-22
9d1ab6c Macnair 2021-06-03

ctrl_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

MS_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

ANCOM CIs (all)

for (nn in model_names) {
  # extract this model
  cat('### ', nn, '\n')
  print(plot_ancombc_ci(ancom_list[[nn]], counts_wide, names_list[[nn]],
    whatplot = whatplot_list[[nn]], reported_only = FALSE))
  cat('\n\n')
}

lesions_WM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_no_neuro

Version Author Date
224491b Macnair 2021-09-03
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_neuro

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM_vs_WM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM_vs_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

ctrl_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

MS_GM_vs_WM_glial

Version Author Date
f20d2da Macnair 2021-07-22

Raw counts across conditions

for (nn in model_names) {
  # extract this model
  cat('### ', nn, '\n')
  print(plot_raw_counts(conos_dt, subset_list[[nn]]$type_spec, 
    subset_list[[nn]]$subset_spec, subset_list[[nn]]$size_spec,
    what = 'boxplot', ancom_list[[nn]]))
  cat('\n\n')
}

lesions_WM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_big_mad

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_no_neuro

Version Author Date
224491b Macnair 2021-09-03
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_neuro

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_all

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM_vs_WM

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

lesions_GM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

GM_vs_WM_oligos

Version Author Date
9d1ab6c Macnair 2021-06-03
9852840 Macnair 2021-05-12

ctrl_GM_vs_WM_glial

Version Author Date
224491b Macnair 2021-09-03
f20d2da Macnair 2021-07-22

MS_GM_vs_WM_glial

Version Author Date
f20d2da Macnair 2021-07-22

Figures

Standard ANCOM-BC output plots for GM vs WM

nn    = 'ctrl_GM_vs_WM_glial'
(plot_ancombc_ci(ancom_list[[nn]], counts_wide, names_list[[nn]],
  whatplot = whatplot_list[[nn]], reported_only = FALSE, add_plot = 'prop'))

Version Author Date
224491b Macnair 2021-09-03

Tweaked ANCOM-BC output plots for GM vs WM for manuscript:

nn    = 'ctrl_GM_vs_WM_glial'
(plot_ancombc_props(ancom_list[[nn]], counts_wide, names_list[[nn]],
  whatplot = whatplot_list[[nn]]))

Version Author Date
224491b Macnair 2021-09-03

GPR17 validation plot

set.seed(20210830)
prop_fine_f = 'output/ms07_soup/pb_prop_fine_2021-06-01.rds'
sel_g       = "GPR17"
(plot_raw_counts_one_celltype(prop_fine_f, conos_dt, sel_g))

Version Author Date
224491b Macnair 2021-09-03

Patient variability line-plot

nn  = 'lesions_WM_no_neuro'
suppressMessages({g = plot_patient_variability_by_sample(conos_dt, subset_list[[nn]])})
print(g)
geom_path: Each group consists of only one observation. Do you need to adjust
the group aesthetic?
geom_path: Each group consists of only one observation. Do you need to adjust
the group aesthetic?

Version Author Date
224491b Macnair 2021-09-03
nn  = 'lesions_WM_no_neuro'
(plot_patient_variability_by_patient(conos_dt, subset_list[[nn]]))
geom_path: Each group consists of only one observation. Do you need to adjust
the group aesthetic?
geom_path: Each group consists of only one observation. Do you need to adjust
the group aesthetic?
geom_path: Each group consists of only one observation. Do you need to adjust
the group aesthetic?
geom_path: Each group consists of only one observation. Do you need to adjust
the group aesthetic?

Version Author Date
224491b Macnair 2021-09-03

Heatmaps of CLRs

cat("### WM\n")

WM

  wm_types    = setdiff(broad_ord, c('Excitatory neurons', 'Inhibitory neurons'))
  props_wm    = calc_props_dt(conos_dt[ type_broad %in% wm_types ], sample_vars) %>%
    .[matter == "WM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_wm, split_rows = FALSE), 
    row_dend_width = unit(0.5, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')
cat("### GM\n")

GM

  gm_types    = setdiff(broad_ord, c('Immune'))
  props_gm    = calc_props_dt(conos_dt[ type_broad %in% gm_types ], sample_vars) %>%
    .[matter == "GM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_gm, split_rows = FALSE), 
    row_dend_width = unit(0.5, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')

Heatmaps of proportions

cat("### WM\n")

WM

  wm_types    = setdiff(broad_ord, c('Excitatory neurons', 'Inhibitory neurons'))
  props_wm    = calc_props_dt(conos_dt[ type_broad %in% wm_types ], sample_vars) %>%
    .[matter == "WM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_wm, split_rows = FALSE, what = 'prop'), 
    row_dend_width = unit(0.5, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')
cat("### GM\n")

GM

  gm_types    = setdiff(broad_ord, c('Immune'))
  props_gm    = calc_props_dt(conos_dt[ type_broad %in% gm_types ], sample_vars) %>%
    .[matter == "GM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_gm, split_rows = FALSE, what = 'prop'), 
    row_dend_width = unit(0.5, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')

Heatmaps of log proportions

cat("### WM\n")

WM

  wm_types    = setdiff(broad_ord, c('Excitatory neurons', 'Inhibitory neurons'))
  props_wm    = calc_props_dt(conos_dt[ type_broad %in% wm_types ], sample_vars) %>%
    .[matter == "WM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_wm, split_rows = FALSE, what = 'log_p'),
    row_dend_width = unit(0.5, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')
cat("### GM\n")

GM

  gm_types    = setdiff(broad_ord, c('Immune'))
  props_gm    = calc_props_dt(conos_dt[ type_broad %in% gm_types ], sample_vars) %>%
    .[matter == "GM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_gm, split_rows = FALSE, what = 'log_p'),
    row_dend_width = unit(0.5, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')

Heatmaps of log proportions (oligodendroglia only)

cat("### WM\n")

WM

  wm_types    = c('Oligodendrocytes', 'OPCs / COPs')
  props_wm    = calc_props_dt(conos_dt[ type_broad %in% wm_types ], sample_vars) %>%
    .[matter == "WM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_wm, split_rows = FALSE, what = 'log_p'),
    row_dend_width = unit(1, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')
cat("### GM\n")

GM

  gm_types    = c('Oligodendrocytes', 'OPCs / COPs')
  props_gm    = calc_props_dt(conos_dt[ type_broad %in% gm_types ], sample_vars) %>%
    .[matter == "GM" & neuro_ok == TRUE]
  draw(plot_clr_heatmap(props_gm, split_rows = FALSE, what = 'log_p'),
    row_dend_width = unit(1, "in"), merge_legend = TRUE)

Version Author Date
224491b Macnair 2021-09-03
cat('\n\n')

Barplots of samples

t       = 'oligo_opc'
types   = c('OPCs / COPs', 'Oligodendrocytes')
m       = "WM"
(plot_sample_splits(conos_dt[matter == m], types = types, show_broad = FALSE))

Version Author Date
224491b Macnair 2021-09-03

Outputs

devtools::session_info()
Registered S3 method overwritten by 'cli':
  method     from         
  print.boxx spatstat.geom
- Session info ---------------------------------------------------------------
 setting  value                       
 version  R version 4.0.5 (2021-03-31)
 os       CentOS Linux 7 (Core)       
 system   x86_64, linux-gnu           
 ui       X11                         
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    C                           
 tz       Europe/Zurich               
 date     2021-10-01                  

- Packages -------------------------------------------------------------------
 ! package              * version    date       lib
   abind                  1.4-5      2016-07-21 [2]
   ade4                   1.7-17     2021-06-17 [1]
   ANCOMBC              * 1.0.5      2021-03-09 [1]
   annotate               1.68.0     2020-10-27 [1]
   AnnotationDbi          1.52.0     2020-10-27 [1]
   ape                    5.5        2021-04-25 [1]
   assertthat           * 0.2.1      2019-03-21 [2]
   backports              1.2.1      2020-12-09 [2]
   beachmat               2.6.4      2020-12-20 [1]
   beeswarm               0.4.0      2021-06-01 [1]
   betareg                3.1-4      2021-02-09 [1]
   Biobase              * 2.50.0     2020-10-27 [1]
   BiocGenerics         * 0.36.1     2021-04-16 [1]
   BiocManager            1.30.16    2021-06-15 [1]
   BiocNeighbors          1.8.2      2020-12-07 [1]
   BiocParallel         * 1.24.1     2020-11-06 [1]
   BiocSingular           1.6.0      2020-10-27 [1]
   BiocStyle            * 2.18.1     2020-11-24 [1]
   biomformat             1.18.0     2020-10-27 [1]
   Biostrings             2.58.0     2020-10-27 [1]
   bit                    4.0.4      2020-08-04 [2]
   bit64                  4.0.5      2020-08-30 [2]
   bitops                 1.0-7      2021-04-24 [2]
   blme                   1.0-5      2021-01-05 [1]
   blob                   1.2.2      2021-07-23 [2]
   bluster                1.0.0      2020-10-27 [1]
   boot                   1.3-28     2021-05-03 [2]
   broom                  0.7.9      2021-07-27 [2]
   bslib                  0.3.0      2021-09-02 [2]
   cachem                 1.0.6      2021-08-19 [1]
   Cairo                  1.5-12.2   2020-07-07 [2]
   callr                  3.7.0      2021-04-20 [2]
   caTools                1.18.2     2021-03-28 [2]
   cellranger             1.1.0      2016-07-27 [2]
   circlize             * 0.4.13     2021-06-09 [1]
   cli                    3.0.1      2021-07-17 [1]
   clue                   0.3-59     2021-04-16 [1]
   cluster                2.1.2      2021-04-17 [2]
   codetools              0.2-18     2020-11-04 [2]
   colorout             * 1.2-2      2021-04-15 [1]
   colorRamps             2.3        2012-10-29 [1]
   colorspace             2.0-2      2021-06-24 [1]
   ComplexHeatmap       * 2.6.2      2020-11-12 [1]
   conos                * 1.4.3      2021-08-07 [1]
   cowplot                1.1.1      2020-12-30 [2]
   crayon                 1.4.1      2021-02-08 [2]
   data.table           * 1.14.0     2021-02-21 [2]
   DBI                    1.1.1      2021-01-15 [2]
   DelayedArray           0.16.3     2021-03-24 [1]
   DelayedMatrixStats     1.12.3     2021-02-03 [1]
   deldir                 0.2-10     2021-02-16 [2]
   desc                   1.3.0      2021-03-05 [2]
   DESeq2                 1.30.1     2021-02-19 [1]
   devtools               2.4.2      2021-06-07 [1]
   digest                 0.6.27     2020-10-24 [2]
   doParallel             1.0.16     2020-10-16 [1]
   dplyr                  1.0.7      2021-06-18 [2]
   dqrng                  0.3.0      2021-05-01 [2]
   edgeR                  3.32.1     2021-01-14 [1]
   ellipsis               0.3.2      2021-04-29 [2]
   evaluate               0.14       2019-05-28 [2]
   fansi                  0.5.0      2021-05-25 [2]
   farver                 2.1.0      2021-02-28 [2]
   fastmap                1.1.0      2021-01-25 [2]
   fitdistrplus           1.1-5      2021-05-28 [2]
   flexmix                2.3-17     2020-10-12 [1]
   forcats              * 0.5.1      2021-01-27 [2]
   foreach                1.5.1      2020-10-15 [2]
   Formula                1.2-4      2020-10-16 [1]
   fs                     1.5.0      2020-07-31 [2]
   future                 1.22.1     2021-08-25 [2]
   future.apply           1.8.1      2021-08-10 [2]
   genefilter             1.72.1     2021-01-21 [1]
   geneplotter            1.68.0     2020-10-27 [1]
   generics               0.1.0      2020-10-31 [2]
   GenomeInfoDb         * 1.26.7     2021-04-08 [1]
   GenomeInfoDbData       1.2.4      2021-04-15 [1]
   GenomicRanges        * 1.42.0     2020-10-27 [1]
   GetoptLong             1.0.5      2020-12-15 [1]
   ggbeeswarm           * 0.6.0      2017-08-07 [1]
   ggplot.multistats    * 1.0.0      2019-10-28 [1]
   ggplot2              * 3.3.5      2021-06-25 [1]
   ggrepel              * 0.9.1      2021-01-15 [2]
   ggridges               0.5.3      2021-01-08 [2]
   git2r                  0.28.0     2021-01-10 [1]
   glmmTMB                1.1.2.2    2021-09-01 [1]
   GlobalOptions          0.1.2      2020-06-10 [1]
   globals                0.14.0     2020-11-22 [2]
   glue                   1.4.2      2020-08-27 [2]
   goftest                1.2-2      2019-12-02 [2]
   gplots                 3.1.1      2020-11-28 [2]
   gridExtra              2.3        2017-09-09 [2]
   grr                    0.9.5      2016-08-26 [1]
   gtable                 0.3.0      2019-03-25 [2]
   gtools                 3.9.2      2021-06-06 [2]
   here                   1.0.1      2020-12-13 [2]
   hexbin                 1.28.2     2021-01-08 [2]
   highr                  0.9        2021-04-16 [2]
   hms                    1.1.0      2021-05-17 [1]
   htmltools              0.5.2      2021-08-25 [2]
   htmlwidgets            1.5.4      2021-09-08 [2]
   httpuv                 1.6.3      2021-09-09 [2]
   httr                   1.4.2      2020-07-20 [2]
   ica                    1.0-2      2018-05-24 [2]
   igraph               * 1.2.6      2020-10-06 [2]
   IRanges              * 2.24.1     2020-12-12 [1]
   irlba                  2.3.3      2019-02-05 [2]
   iterators              1.0.13     2020-10-15 [2]
   janitor                2.1.0      2021-01-05 [1]
   jquerylib              0.1.4      2021-04-26 [2]
   jsonlite               1.7.2      2020-12-09 [2]
   KernSmooth             2.23-20    2021-05-03 [2]
   knitr                  1.34       2021-09-09 [1]
   labeling               0.4.2      2020-10-20 [2]
   later                  1.3.0      2021-08-18 [2]
   lattice                0.20-44    2021-05-02 [2]
   lazyeval               0.2.2      2019-03-15 [2]
 R leiden                 0.3.8      <NA>       [2]
   leidenAlg              0.1.1      2021-03-03 [1]
   lifecycle              1.0.0      2021-02-15 [2]
   limma                  3.46.0     2020-10-27 [1]
   listenv                0.8.0      2019-12-05 [2]
   lme4                   1.1-27.1   2021-06-22 [1]
   lmerTest               3.1-3      2020-10-23 [1]
   lmtest                 0.9-38     2020-09-09 [2]
   locfit                 1.5-9.4    2020-03-25 [1]
   lubridate              1.7.10     2021-02-26 [2]
   magick                 2.7.2      2021-05-02 [2]
   magrittr             * 2.0.1      2020-11-17 [1]
   MASS                 * 7.3-54     2021-05-03 [2]
   Matrix               * 1.3-4      2021-06-01 [2]
   Matrix.utils           0.9.8      2020-02-26 [1]
   MatrixGenerics       * 1.2.1      2021-01-30 [1]
   matrixStats          * 0.60.1     2021-08-23 [1]
   memoise                2.0.0      2021-01-26 [1]
   mgcv                   1.8-36     2021-06-01 [1]
   microbiome             1.12.0     2020-10-27 [1]
   mime                   0.11       2021-06-23 [1]
   miniUI                 0.1.1.1    2018-05-18 [2]
   minqa                  1.2.4      2014-10-09 [1]
   modeltools             0.2-23     2020-03-05 [1]
   multtest               2.46.0     2020-10-27 [1]
   munsell                0.5.0      2018-06-12 [2]
   muscat                 1.5.1      2021-04-15 [1]
   nlme                   3.1-153    2021-09-07 [2]
   nloptr                 1.2.2.2    2020-07-02 [1]
   nnet                   7.3-16     2021-05-03 [2]
   numDeriv               2016.8-1.1 2019-06-06 [2]
   parallelly             1.28.1     2021-09-09 [2]
   patchwork            * 1.1.1      2020-12-17 [2]
   pbapply                1.4-3      2020-08-18 [2]
   pbkrtest               0.5.1      2021-03-09 [1]
   permute                0.9-5      2019-03-12 [1]
   phyloseq             * 1.34.0     2020-10-27 [1]
   pillar                 1.6.2      2021-07-29 [1]
   pkgbuild               1.2.0      2020-12-15 [1]
   pkgconfig              2.0.3      2019-09-22 [2]
   pkgload                1.2.2      2021-09-11 [2]
   plotly                 4.9.4.1    2021-06-18 [2]
   plyr                   1.8.6      2020-03-03 [2]
   png                    0.1-7      2013-12-03 [2]
   polyclip               1.10-0     2019-03-14 [2]
   prettyunits            1.1.1      2020-01-24 [2]
   processx               3.5.2      2021-04-30 [2]
   progress               1.2.2      2019-05-16 [2]
   promises               1.2.0.1    2021-02-11 [2]
   ps                     1.6.0      2021-02-28 [2]
   purrr                * 0.3.4      2020-04-17 [2]
   R.methodsS3            1.8.1      2020-08-26 [1]
   R.oo                   1.24.0     2020-08-26 [1]
   R.utils                2.10.1     2020-08-26 [1]
   R6                     2.5.1      2021-08-19 [2]
   RANN                   2.6.1      2019-01-08 [2]
   rappdirs               0.3.3      2021-01-31 [2]
   rbibutils              2.2.3      2021-08-09 [1]
   RColorBrewer         * 1.1-2      2014-12-07 [2]
   Rcpp                   1.0.7      2021-07-07 [1]
   RcppAnnoy              0.0.19     2021-07-30 [1]
   RCurl                  1.98-1.4   2021-08-17 [1]
   Rdpack                 2.1.2      2021-06-01 [1]
   readxl               * 1.3.1      2019-03-13 [2]
   registry               0.5-1      2019-03-05 [1]
   remotes                2.4.0      2021-06-02 [1]
   reshape2               1.4.4      2020-04-09 [2]
   reticulate           * 1.21       2021-09-14 [2]
   rhdf5                  2.34.0     2020-10-27 [1]
   rhdf5filters           1.2.1      2021-05-03 [1]
   Rhdf5lib               1.12.1     2021-01-26 [1]
   rjson                  0.2.20     2018-06-08 [1]
   rlang                  0.4.11     2021-04-30 [2]
   rmarkdown              2.11       2021-09-14 [1]
   ROCR                   1.0-11     2020-05-02 [2]
   rpart                  4.1-15     2019-04-12 [2]
   rprojroot              2.0.2      2020-11-15 [2]
   RSQLite                2.2.8      2021-08-21 [1]
   rsvd                   1.0.5      2021-04-16 [1]
   Rtsne                  0.15       2018-11-10 [2]
   S4Vectors            * 0.28.1     2020-12-09 [1]
   sandwich               3.0-1      2021-05-18 [1]
   sass                   0.4.0      2021-05-12 [2]
   scales               * 1.1.1      2020-05-11 [2]
   scater               * 1.18.6     2021-02-26 [1]
   scattermore            0.7        2020-11-24 [2]
   sccore                 0.1.3      2021-05-05 [1]
   scran                * 1.18.7     2021-04-16 [1]
   sctransform            0.3.2      2020-12-16 [2]
   scuttle                1.0.4      2020-12-17 [1]
   seriation            * 1.3.0      2021-06-30 [1]
   sessioninfo            1.1.1      2018-11-05 [1]
   Seurat               * 4.0.4      2021-08-20 [2]
   SeuratObject         * 4.0.2      2021-06-09 [2]
   shape                  1.4.6      2021-05-19 [1]
   shiny                  1.6.0      2021-01-25 [2]
   SingleCellExperiment * 1.12.0     2020-10-27 [1]
   snakecase              0.11.0     2019-05-25 [1]
   sparseMatrixStats      1.2.1      2021-02-02 [1]
   spatstat.core          2.3-0      2021-07-16 [2]
   spatstat.data          2.1-0      2021-03-21 [2]
   spatstat.geom          2.2-2      2021-07-12 [2]
   spatstat.sparse        2.0-0      2021-03-16 [2]
   spatstat.utils         2.2-0      2021-06-14 [2]
   statmod                1.4.36     2021-05-10 [1]
   stringi                1.7.4      2021-08-25 [1]
   stringr              * 1.4.0      2019-02-10 [2]
   SummarizedExperiment * 1.20.0     2020-10-27 [1]
   survival               3.2-13     2021-08-24 [2]
   tensor                 1.5        2012-05-05 [2]
   testthat               3.0.4      2021-07-01 [2]
   tibble                 3.1.4      2021-08-25 [1]
   tidyr                  1.1.3      2021-03-03 [2]
   tidyselect             1.1.1      2021-04-30 [2]
   TMB                    1.7.21     2021-09-06 [1]
   TSP                    1.1-10     2020-04-17 [1]
   usethis                2.0.1      2021-02-10 [1]
   utf8                   1.2.2      2021-07-24 [1]
   uwot                 * 0.1.10     2020-12-15 [2]
   variancePartition      1.20.0     2020-10-27 [1]
   vctrs                  0.3.8      2021-04-29 [2]
   vegan                  2.5-7      2020-11-28 [1]
   vipor                  0.4.5      2017-03-22 [1]
   viridis              * 0.6.1      2021-05-11 [1]
   viridisLite          * 0.4.0      2021-04-13 [1]
   whisker                0.4        2019-08-28 [1]
   withr                  2.4.2      2021-04-18 [2]
   workflowr            * 1.6.2      2020-04-30 [1]
   xfun                   0.26       2021-09-14 [1]
   XML                    3.99-0.7   2021-08-17 [1]
   xtable                 1.8-4      2019-04-21 [2]
   XVector                0.30.0     2020-10-27 [1]
   yaml                   2.2.1      2020-02-01 [2]
   zlibbioc               1.36.0     2020-10-27 [1]
   zoo                    1.8-9      2021-03-09 [2]
 source                            
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Github (jalvesaq/colorout@79931fd)
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 <NA>                              
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.0)                    
 Github (HelenaLC/muscat@c939663)  
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.2)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.5)                    
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.1)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.1)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    

[1] /pstore/home/macnairw/lib/conda_r3.12
[2] /pstore/home/macnairw/.conda/envs/r_4.0.3/lib/R/library

 R -- Package was removed from disk.

sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /pstore/home/macnairw/.conda/envs/r_4.0.3/lib/libopenblasp-r0.3.12.so

locale:
 [1] LC_CTYPE=C                 LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
 [1] parallel  stats4    grid      stats     graphics  grDevices utils    
 [8] datasets  methods   base     

other attached packages:
 [1] ggbeeswarm_0.6.0            ggrepel_0.9.1              
 [3] reticulate_1.21             MASS_7.3-54                
 [5] phyloseq_1.34.0             ANCOMBC_1.0.5              
 [7] purrr_0.3.4                 scran_1.18.7               
 [9] uwot_0.1.10                 scater_1.18.6              
[11] SingleCellExperiment_1.12.0 SummarizedExperiment_1.20.0
[13] Biobase_2.50.0              GenomicRanges_1.42.0       
[15] GenomeInfoDb_1.26.7         IRanges_2.24.1             
[17] S4Vectors_0.28.1            BiocGenerics_0.36.1        
[19] MatrixGenerics_1.2.1        matrixStats_0.60.1         
[21] BiocParallel_1.24.1         ggplot.multistats_1.0.0    
[23] patchwork_1.1.1             seriation_1.3.0            
[25] ComplexHeatmap_2.6.2        SeuratObject_4.0.2         
[27] Seurat_4.0.4                conos_1.4.3                
[29] igraph_1.2.6                Matrix_1.3-4               
[31] readxl_1.3.1                forcats_0.5.1              
[33] ggplot2_3.3.5               scales_1.1.1               
[35] viridis_0.6.1               viridisLite_0.4.0          
[37] assertthat_0.2.1            stringr_1.4.0              
[39] data.table_1.14.0           magrittr_2.0.1             
[41] circlize_0.4.13             RColorBrewer_1.1-2         
[43] BiocStyle_2.18.1            colorout_1.2-2             
[45] workflowr_1.6.2            

loaded via a namespace (and not attached):
  [1] rsvd_1.0.5                ica_1.0-2                
  [3] ps_1.6.0                  foreach_1.5.1            
  [5] lmtest_0.9-38             rprojroot_2.0.2          
  [7] crayon_1.4.1              spatstat.core_2.3-0      
  [9] rbibutils_2.2.3           rhdf5filters_1.2.1       
 [11] Matrix.utils_0.9.8        backports_1.2.1          
 [13] nlme_3.1-153              rlang_0.4.11             
 [15] XVector_0.30.0            ROCR_1.0-11              
 [17] microbiome_1.12.0         irlba_2.3.3              
 [19] callr_3.7.0               nloptr_1.2.2.2           
 [21] limma_3.46.0              rjson_0.2.20             
 [23] bit64_4.0.5               glue_1.4.2               
 [25] sctransform_0.3.2         processx_3.5.2           
 [27] pbkrtest_0.5.1            vipor_0.4.5              
 [29] spatstat.sparse_2.0-0     AnnotationDbi_1.52.0     
 [31] muscat_1.5.1              spatstat.geom_2.2-2      
 [33] tidyselect_1.1.1          usethis_2.0.1            
 [35] fitdistrplus_1.1-5        variancePartition_1.20.0 
 [37] XML_3.99-0.7              tidyr_1.1.3              
 [39] zoo_1.8-9                 xtable_1.8-4             
 [41] evaluate_0.14             cli_3.0.1                
 [43] Rdpack_2.1.2              scuttle_1.0.4            
 [45] zlibbioc_1.36.0           miniUI_0.1.1.1           
 [47] whisker_0.4               bslib_0.3.0              
 [49] rpart_4.1-15              betareg_3.1-4            
 [51] shiny_1.6.0               BiocSingular_1.6.0       
 [53] xfun_0.26                 clue_0.3-59              
 [55] pkgbuild_1.2.0            multtest_2.46.0          
 [57] cluster_2.1.2             caTools_1.18.2           
 [59] TSP_1.1-10                biomformat_1.18.0        
 [61] tibble_3.1.4              ape_5.5                  
 [63] listenv_0.8.0             Biostrings_2.58.0        
 [65] png_0.1-7                 permute_0.9-5            
 [67] future_1.22.1             withr_2.4.2              
 [69] bitops_1.0-7              plyr_1.8.6               
 [71] cellranger_1.1.0          dqrng_0.3.0              
 [73] pillar_1.6.2              gplots_3.1.1             
 [75] GlobalOptions_0.1.2       cachem_1.0.6             
 [77] fs_1.5.0                  flexmix_2.3-17           
 [79] GetoptLong_1.0.5          DelayedMatrixStats_1.12.3
 [81] vctrs_0.3.8               ellipsis_0.3.2           
 [83] generics_0.1.0            devtools_2.4.2           
 [85] tools_4.0.5               beeswarm_0.4.0           
 [87] munsell_0.5.0             DelayedArray_0.16.3      
 [89] pkgload_1.2.2             fastmap_1.1.0            
 [91] compiler_4.0.5            abind_1.4-5              
 [93] httpuv_1.6.3              sessioninfo_1.1.1        
 [95] plotly_4.9.4.1            GenomeInfoDbData_1.2.4   
 [97] gridExtra_2.3             glmmTMB_1.1.2.2          
 [99] edgeR_3.32.1              lattice_0.20-44          
[101] deldir_0.2-10             utf8_1.2.2               
[103] later_1.3.0               dplyr_1.0.7              
[105] jsonlite_1.7.2            pbapply_1.4-3            
[107] sparseMatrixStats_1.2.1   genefilter_1.72.1        
[109] lazyeval_0.2.2            promises_1.2.0.1         
[111] doParallel_1.0.16         R.utils_2.10.1           
[113] goftest_1.2-2             spatstat.utils_2.2-0     
[115] rmarkdown_2.11            sandwich_3.0-1           
[117] cowplot_1.1.1             blme_1.0-5               
[119] statmod_1.4.36            Rtsne_0.15               
[121] survival_3.2-13           numDeriv_2016.8-1.1      
[123] yaml_2.2.1                htmltools_0.5.2          
[125] memoise_2.0.0             modeltools_0.2-23        
[127] locfit_1.5-9.4            here_1.0.1               
[129] digest_0.6.27             mime_0.11                
[131] rappdirs_0.3.3            registry_0.5-1           
[133] RSQLite_2.2.8             future.apply_1.8.1       
[135] remotes_2.4.0             blob_1.2.2               
[137] vegan_2.5-7               R.oo_1.24.0              
[139] splines_4.0.5             Formula_1.2-4            
[141] labeling_0.4.2            Rhdf5lib_1.12.1          
[143] Cairo_1.5-12.2            RCurl_1.98-1.4           
[145] broom_0.7.9               hms_1.1.0                
[147] rhdf5_2.34.0              colorspace_2.0-2         
[149] BiocManager_1.30.16       shape_1.4.6              
[151] nnet_7.3-16               sass_0.4.0               
[153] Rcpp_1.0.7                RANN_2.6.1               
[155] fansi_0.5.0               parallelly_1.28.1        
[157] R6_2.5.1                  ggridges_0.5.3           
[159] lifecycle_1.0.0           bluster_1.0.0            
[161] minqa_1.2.4               testthat_3.0.4           
[163] leiden_0.3.8              jquerylib_0.1.4          
[165] snakecase_0.11.0          desc_1.3.0               
[167] RcppAnnoy_0.0.19          iterators_1.0.13         
[169] TMB_1.7.21                htmlwidgets_1.5.4        
[171] beachmat_2.6.4            polyclip_1.10-0          
[173] mgcv_1.8-36               globals_0.14.0           
[175] leidenAlg_0.1.1           codetools_0.2-18         
[177] lubridate_1.7.10          gtools_3.9.2             
[179] prettyunits_1.1.1         R.methodsS3_1.8.1        
[181] gtable_0.3.0              DBI_1.1.1                
[183] git2r_0.28.0              tensor_1.5               
[185] httr_1.4.2                highr_0.9                
[187] KernSmooth_2.23-20        stringi_1.7.4            
[189] progress_1.2.2            reshape2_1.4.4           
[191] farver_2.1.0              annotate_1.68.0          
[193] hexbin_1.28.2             magick_2.7.2             
[195] colorRamps_2.3            sccore_0.1.3             
[197] boot_1.3-28               grr_0.9.5                
[199] BiocNeighbors_1.8.2       lme4_1.1-27.1            
[201] ade4_1.7-17               geneplotter_1.68.0       
[203] scattermore_0.7           DESeq2_1.30.1            
[205] bit_4.0.4                 spatstat.data_2.1-0      
[207] janitor_2.1.0             pkgconfig_2.0.3          
[209] lmerTest_3.1-3            knitr_1.34