Last updated: 2021-12-06

Checks: 4 3

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 is untracked by Git. 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.

The following chunks had caches available:
  • add_rowitch_labels
  • load_conos
  • plot_alternative_celltypes
  • remove_weird_samples
  • session_info
  • session-info-chunk-inserted-by-workflowr
  • setup_input
  • setup_outputs
  • setup_rowitch

To ensure reproducibility of the results, delete the cache directory supp09_ancombc_rowitch_cache and re-run the analysis. To have workflowr automatically delete the cache directory prior to building the file, set delete_cache = TRUE when running wflow_build() or wflow_publish().

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 1f4bea5. 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_cache/
    Ignored:    analysis/ms09_ancombc_clean_1e3_cache/
    Ignored:    analysis/ms09_ancombc_clean_2e3_cache/
    Ignored:    analysis/ms09_ancombc_mixed_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_final_meta_cache/
    Ignored:    analysis/ms15_mofa_sample_gm_superclean_cache/
    Ignored:    analysis/ms15_mofa_sample_gm_w_layers_final_meta_cache/
    Ignored:    analysis/ms15_mofa_sample_wm_cache/
    Ignored:    analysis/ms15_mofa_sample_wm_final_meta_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/supp09_ancombc_rowitch_cache/
    Ignored:    analysis/supp09_ancombc_superclean_cache/
    Ignored:    analysis/supp10_muscat_cache/
    Ignored:    analysis/supp10_muscat_ctrl_gm_vs_wm_cache/
    Ignored:    analysis/supp10_muscat_gm_layers_effects_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:    analysis/supp10_muscat_soup_mito_cache/
    Ignored:    code/._ms10_muscat_fns_recover.R
    Ignored:    code/.recovery/
    Ignored:    code/jobs/._muscat_run09_2021-10-11.slurm
    Ignored:    code/muscat_plan.txt
    Ignored:    data/
    Ignored:    figures/
    Ignored:    output/
    Ignored:    tmp/

Untracked files:
    Untracked:  analysis/supp09_ancombc_rowitch.Rmd
    Untracked:  analysis/supp09_ancombc_superclean.Rmd
    Untracked:  analysis/supp10_muscat_gsea.Rmd
    Untracked:  code/dev_magma_de_heatmaps_2021-12-03.R

Unstaged changes:
    Modified:   analysis/fig_muscat.Rmd
    Modified:   analysis/index.Rmd
    Modified:   analysis/ms14_lesions.Rmd
    Modified:   analysis/ms15_mofa_sample_wm_superclean.Rmd
    Modified:   analysis/supp07_superclean_check.Rmd
    Modified:   code/dev_edger_on_mofa_20210804.R
    Modified:   code/fig_muscat.R
    Modified:   code/ms14_lesions.R
    Modified:   code/supp09_ancombc.R
    Modified:   code/supp10_muscat.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.


There are no past versions. Publish this analysis with wflow_publish() to start tracking its development.


Setup / definitions

Libraries

Helper functions

source('code/ms00_utils.R')
source('code/ms04_conos.R')
source('code/ms07_soup.R')
source('code/ms09_ancombc_mixed.R')

source('code/supp09_ancombc.R')

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_2021-10-08.xlsx"

# define pseudobulk data
soup_dir    = 'output/ms07_soup'
pb_broad_f  = file.path(soup_dir, 'pb_sum_broad_2021-10-11.rds')
pb_fine_f   = file.path(soup_dir, 'pb_sum_fine_2021-10-11.rds')
pb_f_ls     = c(broad = pb_broad_f, fine = pb_fine_f)
rowitch_f   = "data/rowitch/cross_study_neuron_labelling_2021-12-03.xlsx"

Outputs

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

# sample variables
sample_vars = c('sample_id', 'matter', 'lesion_type', 
  'neuro_ok', 'neuro_prop', 'sample_source', 'subject_id', 
  'sex', 'age_scale', 'pmi_cat', 'pmi_cat2')

# identifying strange samples
neuro_mad_cut = 2
log_n_mad_cut = 3

# define how to select PCs
gm_spec     = list(
  name        = 'lesions_GM',
  subset      = list(matter = 'GM', neuro_ok = TRUE),
  size        = list(min_count = 10, min_prop = 0.1),
  exc_regex   = NULL,
  formula     = '~ lesion_type + sex + age_scale + pmi_cat2',
  fixef_test  = 'lesion_type',
  fixef_covar = c('sex', 'age_scale', 'pmi_cat2'),
  ranef_var   = 'subject_id'
)

Load inputs

meta_dt     = load_meta_dt_from_xls(meta_f)
labels_dt   = load_names_dt(labels_f) %>%
  .[, cluster_id := type_fine]
conos_dt    = load_labelled_dt(labelled_f, labels_f) %>%
  merge(meta_dt, by = 'sample_id') %>%
  add_neuro_props(mad_cut = neuro_mad_cut)
# check for any outliers
size_chks   = calc_size_outliers(conos_dt, mad_cut = log_n_mad_cut)
message("these samples excluded to outlier sample sizes:")
these samples excluded to outlier sample sizes:
print(size_chks[ size_ok == FALSE ])
   matter sample_id   N med_log_N mad_log_N size_ok
1:     GM     EU034 911  8.519391  0.423111   FALSE
2:     GM     EU043 687  8.519391  0.423111   FALSE
# exclude them from conos
ok_samples  = size_chks[ size_ok == TRUE]$sample_id
conos_dt    = conos_dt[ (sample_id %in% ok_samples) & (neuro_ok == TRUE) ]
rowitch_dt  = rowitch_f %>% read_excel(sheet = "Sheet1") %>% 
  as.data.table %>% 
  .[, .(type_fine, 
    rowitch_guess = factor(rowitch_guess), 
    anna_group    = factor(anna_protein_group)
  )]
conos_dt    = merge(conos_dt, rowitch_dt, by = 'type_fine', all.x = TRUE)

Processing / calculations

Analysis

Abundances and proportions, split by different groupings

conos_gm  = conos_dt[ matter == "GM" ] %>%
  .[, lesion_type := fct_drop(lesion_type) ]
sel_broad = c("Excitatory neurons", "Inhibitory neurons")
for (v in c('type_fine', 'rowitch_guess', 'anna_group')) {
  cat('### ', v, '\n')
  print(plot_alternative_celltypes(conos_gm, sel_broad, group_var = v))
  cat('\n\n')  
}

type_fine

rowitch_guess

anna_group

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-12-06                  

- Packages -------------------------------------------------------------------
 ! package              * version    date       lib
   abind                  1.4-5      2016-07-21 [2]
   ade4                   1.7-18     2021-09-16 [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]
   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.1      2021-10-06 [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-60     2021-10-11 [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.2     2021-09-27 [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                 1.0-6      2021-10-23 [2]
   desc                   1.4.0      2021-09-28 [1]
   DESeq2                 1.30.1     2021-02-19 [1]
   devtools               2.4.2      2021-06-07 [1]
   digest                 0.6.28     2021-09-23 [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]
   DropletUtils         * 1.10.3     2021-02-02 [1]
   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-6      2021-09-28 [2]
   forcats              * 0.5.1      2021-01-27 [2]
   foreach                1.5.1      2020-10-15 [2]
   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.1      2021-10-25 [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.3    2021-09-20 [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-3      2021-10-07 [2]
   googlesheets         * 0.3.0      2018-06-29 [1]
   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]
   HDF5Array              1.18.1     2021-02-04 [1]
   hexbin                 1.28.2     2021-01-08 [2]
   highr                  0.9        2021-04-16 [2]
   hms                    1.1.1      2021-09-26 [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.7      2021-10-15 [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.36       2021-09-29 [1]
   later                  1.3.0      2021-08-18 [2]
   lattice                0.20-45    2021-09-22 [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.1      2021-09-24 [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.8.0      2021-10-07 [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.61.0     2021-09-17 [1]
   memoise                2.0.0      2021-01-26 [1]
   mgcv                   1.8-38     2021-10-06 [1]
   microbiome             1.12.0     2020-10-27 [1]
   mime                   0.12       2021-09-28 [1]
   miniUI                 0.1.1.1    2018-05-18 [2]
   minqa                  1.2.4      2014-10-09 [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]
   nnls                 * 1.4        2012-03-19 [1]
   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.5-0      2021-09-16 [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.4      2021-10-18 [1]
   pkgbuild               1.2.0      2020-12-15 [1]
   pkgconfig              2.0.3      2019-09-22 [2]
   pkgload                1.2.3      2021-10-13 [2]
   plotly                 4.10.0     2021-10-09 [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.11.0     2021-09-26 [1]
   R6                     2.5.1      2021-08-19 [2]
   RANN                   2.6.1      2019-01-08 [2]
   rbibutils              2.2.4      2021-10-11 [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.5   2021-09-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.1      2021-09-29 [1]
   reshape2               1.4.4      2020-04-09 [2]
   reticulate           * 1.22       2021-09-17 [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.12     2021-10-18 [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]
   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                 1.0.0      2021-10-07 [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.1      2021-10-16 [1]
   sessioninfo            1.1.1      2018-11-05 [1]
   Seurat               * 4.0.5      2021-10-17 [2]
   SeuratObject         * 4.0.2      2021-06-09 [2]
   shape                  1.4.6      2021-05-19 [1]
   shiny                  1.7.1      2021-10-02 [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.3-0      2021-10-09 [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.1.0      2021-10-04 [2]
   tibble                 3.1.5      2021-09-30 [1]
   tidyr                  1.1.4      2021-09-27 [2]
   tidyselect             1.1.1      2021-04-30 [2]
   TMB                    1.7.22     2021-09-28 [1]
   TSP                    1.1-11     2021-10-06 [1]
   usethis                2.1.2      2021-10-25 [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.2      2021-10-13 [1]
   viridisLite          * 0.4.0      2021-04-13 [1]
   withr                  2.4.2      2021-04-18 [2]
   workflowr            * 1.6.2      2020-04-30 [1]
   xfun                   0.27       2021-10-18 [1]
   XML                    3.99-0.8   2021-09-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.5)                    
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 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.5)                    
 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.5)                    
 CRAN (R 4.0.3)                    
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 Bioconductor                      
 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)                    
 Bioconductor                      
 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.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.5)                    
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.5)                    
 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.5)                    
 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)                    
 Bioconductor                      
 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.5)                    
 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.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 <NA>                              
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 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.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.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 Bioconductor                      
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 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.5)                    
 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.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.5)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.0)                    
 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.5)                    
 CRAN (R 4.0.0)                    
 CRAN (R 4.0.5)                    
 Bioconductor                      
 Bioconductor                      
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 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.0)                    
 Bioconductor                      
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 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.5)                    
 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.5)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.5)                    
 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.3)                    
 CRAN (R 4.0.3)                    
 CRAN (R 4.0.5)                    
 CRAN (R 4.0.1)                    
 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.22             MASS_7.3-54                
 [5] phyloseq_1.34.0             ANCOMBC_1.0.5              
 [7] ica_1.0-2                   purrr_0.3.4                
 [9] nnls_1.4                    muscat_1.5.1               
[11] DropletUtils_1.10.3         edgeR_3.32.1               
[13] limma_3.46.0                googlesheets_0.3.0         
[15] scran_1.18.7                uwot_0.1.10                
[17] scater_1.18.6               SingleCellExperiment_1.12.0
[19] SummarizedExperiment_1.20.0 Biobase_2.50.0             
[21] GenomicRanges_1.42.0        GenomeInfoDb_1.26.7        
[23] IRanges_2.24.1              S4Vectors_0.28.1           
[25] BiocGenerics_0.36.1         MatrixGenerics_1.2.1       
[27] matrixStats_0.61.0          BiocParallel_1.24.1        
[29] ggplot.multistats_1.0.0     patchwork_1.1.1            
[31] seriation_1.3.1             ComplexHeatmap_2.6.2       
[33] SeuratObject_4.0.2          Seurat_4.0.5               
[35] conos_1.4.3                 igraph_1.2.7               
[37] Matrix_1.3-4                readxl_1.3.1               
[39] forcats_0.5.1               ggplot2_3.3.5              
[41] scales_1.1.1                viridis_0.6.2              
[43] viridisLite_0.4.0           assertthat_0.2.1           
[45] stringr_1.4.0               data.table_1.14.2          
[47] magrittr_2.0.1              circlize_0.4.13            
[49] RColorBrewer_1.1-2          BiocStyle_2.18.1           
[51] colorout_1.2-2              workflowr_1.6.2            

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