Package: miloR 2.1.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.1.0.tar.gz
miloR_2.1.0.zip(r-4.5)miloR_2.1.0.zip(r-4.4)miloR_2.1.0.zip(r-4.3)
miloR_2.1.0.tgz(r-4.4-arm64)miloR_2.1.0.tgz(r-4.4-x86_64)miloR_2.1.0.tgz(r-4.3-arm64)miloR_2.1.0.tgz(r-4.3-x86_64)
miloR_2.1.0.tar.gz(r-4.5-noble)miloR_2.1.0.tar.gz(r-4.4-noble)
miloR_2.1.0.tgz(r-4.4-emscripten)miloR_2.1.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.0(bioc 3.20)miloR-2.0.0(bioc 3.19)

bioconductor-package

54 exports 1.38 score 105 dependencies

Last updated 2 months agofrom:15c14c9743

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

Dependencies:abindaskpassbeachmatbeeswarmBHBiobaseBiocGenericsBiocNeighborsBiocParallelBiocSingularcachemclicodetoolscolorspacecowplotcpp11crayoncurlDelayedArraydplyredgeRfansifarverfastmapformatRfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomeInfoDbDataGenomicRangesggbeeswarmggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtablegtoolshttrigraphIRangesirlbaisobandjsonlitelabelinglambda.rlatticelifecyclelimmalocfitmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvmimemunsellnlmenumDerivopensslpatchworkpillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppEigenRcppHNSWrlangrsvdS4ArraysS4VectorsScaledMatrixscalesSingleCellExperimentsnowSparseArraystatmodstringistringrSummarizedExperimentsyssystemfontstibbletidygraphtidyrtidyselecttweenrUCSC.utilsutf8vctrsviporviridisviridisLitewithrXVectorzlibbioc

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