Package: miloR 2.3.0

Mike Morgan

miloR: Differential neighbourhood abundance testing on a graph

Milo performs single-cell differential abundance testing. Cell states are modelled as representative neighbourhoods on a nearest neighbour graph. Hypothesis testing is performed using either a negative bionomial generalized linear model or negative binomial generalized linear mixed model.

Authors:Mike Morgan [aut, cre], Emma Dann [aut, ctb]

miloR_2.3.0.tar.gz
miloR_2.3.0.zip(r-4.5)miloR_2.3.0.zip(r-4.4)miloR_2.3.0.zip(r-4.3)
miloR_2.3.0.tgz(r-4.4-x86_64)miloR_2.3.0.tgz(r-4.4-arm64)miloR_2.3.0.tgz(r-4.3-x86_64)miloR_2.3.0.tgz(r-4.3-arm64)
miloR_2.3.0.tar.gz(r-4.5-noble)miloR_2.3.0.tar.gz(r-4.4-noble)
miloR_2.3.0.tgz(r-4.4-emscripten)miloR_2.3.0.tgz(r-4.3-emscripten)
miloR.pdf |miloR.html
miloR/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/marionilab/milor/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On BioConductor:miloR-2.1.6(bioc 3.20)miloR-2.0.0(bioc 3.19)

singlecellmultiplecomparisonfunctionalgenomicssoftware

10.21 score 343 stars 334 scripts 713 downloads 54 exports 107 dependencies

Last updated 21 days agofrom:959804d399. Checks:OK: 1 NOTE: 7 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-win-x86_64NOTEOct 31 2024
R-4.5-linux-x86_64NOTEOct 30 2024
R-4.4-win-x86_64NOTEOct 31 2024
R-4.4-mac-x86_64NOTEOct 31 2024
R-4.4-mac-aarch64NOTEOct 31 2024
R-4.3-win-x86_64NOTEOct 31 2024
R-4.3-mac-x86_64NOTEOct 31 2024
R-4.3-mac-aarch64ERROROct 31 2024

Exports:.calc_distance.parse_formula.rEParseannotateNhoodsbuildFromAdjacencybuildGraphbuildNhoodGraphcalcNhoodDistancecalcNhoodExpressioncheckSeparationcomputePvaluecountCellsfindNhoodGroupMarkersfindNhoodMarkersfitGLMMglmmControl.defaultsgraphgraph<-graphSpatialFDRgroupNhoodsinitialiseGinitializeFullZmakeNhoodsmatrix.traceMilonhoodAdjacencynhoodAdjacency<-nhoodCountsnhoodCounts<-nhoodDistancesnhoodDistances<-nhoodExpressionnhoodExpression<-nhoodGraphnhoodGraph<-nhoodIndexnhoodIndex<-nhoodReducedDimnhoodReducedDim<-nhoodsnhoods<-plotDAbeeswarmplotNhoodCountsplotNhoodExpressionDAplotNhoodExpressionGroupsplotNhoodGraphplotNhoodGraphDAplotNhoodGroupsplotNhoodMAplotNhoodSizeHistSatterthwaite_dfshowtestDiffExptestNhoods

Dependencies:abindaskpassassortheadbeachmatbeeswarmBHBiobaseBiocGenericsBiocNeighborsBiocParallelBiocSingularcachemclicodetoolscolorspacecowplotcpp11crayoncurlDelayedArraydplyredgeRfansifarverfastmapformatRfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomeInfoDbDataGenomicRangesggbeeswarmggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtablegtoolshttrigraphIRangesirlbaisobandjsonlitelabelinglambda.rlatticelifecyclelimmalocfitmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvmimemunsellnlmenumDerivopensslpatchworkpillarpkgconfigpolyclippracmapurrrR6RColorBrewerRcppRcppArmadilloRcppEigenRcppMLrlangrsvdS4ArraysS4VectorsScaledMatrixscalesSingleCellExperimentsnowSparseArraystatmodstringistringrSummarizedExperimentsyssystemfontstibbletidygraphtidyrtidyselecttweenrUCSC.utilsutf8vctrsviporviridisviridisLitewithrXVectorzlibbioc

Differential abundance testing with Milo

Rendered frommilo_demo.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2024-10-18
Started: 2020-10-13

Differential abundance testing with Milo - Mouse gastrulation example

Rendered frommilo_gastrulation.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2024-04-29
Started: 2020-11-10

Mixed effect models for Milo DA testing

Rendered frommilo_glmm.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2024-10-20
Started: 2023-11-09

Making comparisons for differential abundance using contrasts

Rendered frommilo_contrasts.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2024-09-17
Started: 2022-02-01

Readme and manuals

Help Manual

Help pageTopics
The miloR packagemiloR-package
Add annotations from colData to DA testing resultsannotateNhoods
Build a graph from an input adjacency matrixbuildFromAdjacency
Build a k-nearest neighbour graphbuildGraph
Build an abstracted graph of neighbourhoods for visualizationbuildNhoodGraph
Calculate within neighbourhood distancescalcNhoodDistance
Average expression within neighbourhoodscalcNhoodExpression
Check for separation of count distributions by variablescheckSeparation
Compute the p-value for the fixed effect parameterscomputePvalue
Count cells in neighbourhoodscountCells
Identify post-hoc neighbourhood marker genesfindNhoodGroupMarkers
Identify post-hoc neighbourhood marker genesfindNhoodMarkers
GLMM parameter estimation using pseudo-likelihood with a custom covariance matrixfitGeneticPLGlmm
Perform differential abundance testing using a NB-generalised linear mixed modelfitGLMM
GLMM parameter estimation using pseudo-likelihoodfitPLGlmm
glmm control default valuesglmmControl.defaults
Control the spatial FDRgraphSpatialFDR
Group neighbourhoodsgroupNhoods
Construct the initial G matrixinitialiseG
Construct the full Z matrixinitializeFullZ
Define neighbourhoods on a graph (fast)makeNhoods
Compute the trace of a matrixmatrix.trace
The Milo constructorMilo Milo-class
Get and set methods for Milo objectsgraph graph,Milo-method graph<- graph<-,Milo-method Milo-methods nhoodAdjacency nhoodAdjacency,Milo-method nhoodAdjacency<- nhoodAdjacency<-,Milo-method nhoodCounts nhoodCounts,Milo-method nhoodCounts<- nhoodCounts<-,Milo-method nhoodDistances nhoodDistances,Milo-method nhoodDistances<- nhoodDistances<-,Milo-method nhoodExpression nhoodExpression,Milo-method nhoodExpression<- nhoodExpression<-,Milo-method nhoodGraph nhoodGraph,Milo-method nhoodGraph<- nhoodGraph<-,Milo-method nhoodIndex nhoodIndex,Milo-method nhoodIndex<- nhoodIndex<-,Milo-method nhoodReducedDim nhoodReducedDim,Milo-method nhoodReducedDim<- nhoodReducedDim<-,Milo-method nhoods nhoods,Milo-method nhoods<- nhoods<-,Milo-method show show,Milo-method
miloRmiloR
Visualize DA results as a beeswarm plotplotDAbeeswarm
Plot the number of cells in a neighbourhood per sample and conditionplotNhoodCounts
Visualize gene expression in neighbourhoodsplotNhoodExpressionDA plotNhoodExpressionGroups
Plot graph of neighbourhoodplotNhoodGraph
Plot Milo results on graph of neighbourhoodplotNhoodGraphDA
Plot graph of neighbourhoods coloring by nhoodGroupsplotNhoodGroups
Visualize DA results as an MAplotplotNhoodMA
Plot histogram of neighbourhood sizesplotNhoodSizeHist
Compute degrees of freedom using Satterthwaite methodSatterthwaite_df
sim_discretesim_discrete
sim_familysim_family
sim_nbglmmsim_nbglmm
Simulated linear trajectory datasim_trajectory
Perform post-hoc differential gene expression analysistestDiffExp
Perform differential neighbourhood abundance testingtestNhoods