Package: COTAN 2.13.1
COTAN: COexpression Tables ANalysis
Statistical and computational method to analyze the co-expression of gene pairs at single cell level. It provides the foundation for single-cell gene interactome analysis. The basic idea is studying the zero UMI counts' distribution instead of focusing on positive counts; this is done with a generalized contingency tables framework. COTAN can effectively assess the correlated or anti-correlated expression of gene pairs. It provides a numerical index related to the correlation and an approximate p-value for the associated independence test. COTAN can also evaluate whether single genes are differentially expressed, scoring them with a newly defined global differentiation index. Moreover, this approach provides ways to plot and cluster genes according to their co-expression pattern with other genes, effectively helping the study of gene interactions and becoming a new tool to identify cell-identity marker genes.
Authors:
COTAN_2.13.1.tar.gz
COTAN_2.13.1.zip(r-4.7)COTAN_2.13.1.zip(r-4.6)COTAN_2.13.1.zip(r-4.5)
COTAN_2.13.1.tgz(r-4.6-any)COTAN_2.13.1.tgz(r-4.5-any)
COTAN_2.13.1.tar.gz(r-4.7-any)COTAN_2.13.1.tar.gz(r-4.6-any)
COTAN_2.13.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
COTAN/json (API)
NEWS
| # Install 'COTAN' in R: |
| install.packages('COTAN', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/seriph78/cotan/issues
- ERCCraw - Data-sets
- raw.dataset - Data-sets
- test.dataset - Data-sets
- test.dataset.clusters1 - Data-sets
- test.dataset.clusters2 - Data-sets
- vignette.cells.origin - Data-sets
- vignette.merge.clusters - Data-sets
- vignette.split.clusters - Data-sets
On BioConductor:COTAN-2.13.0(bioc 3.24)COTAN-2.12.0(bioc 3.23)
systemsbiologytranscriptomicsgeneexpressionsinglecelldifferentialexpressionclusteringgpu
Last updated from:c968e6997a. Checks:8 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| bioc-checks | NOTE | 262 | ||
| linux-devel-x86_64 | NOTE | 1227 | ||
| source / vignettes | OK | 683 | ||
| linux-release-x86_64 | NOTE | 1157 | ||
| macos-release-arm64 | NOTE | 780 | ||
| macos-oldrel-arm64 | NOTE | 810 | ||
| windows-devel | NOTE | 1089 | ||
| windows-release | NOTE | 1358 | ||
| windows-oldrel | NOTE | 1260 | ||
| wasm-release | OK | 232 |
Exports:addClusterizationaddClusterizationCoexaddConditionaddElementToMetaDatasetasClusterizationautomaticCOTANObjectCreationcalculateCoexcalculateGcalculateGDIcalculateGDIGivenCorrcalculateGenesCEcalculateLikelihoodOfObservedcalculatePartialCoexcalculatePDIcalculatePValuecalculateReducedDataMatrixcalculateScalculateThresholdShiftToUniformitycanUseTorchcellsHeatmapPlotcellSizePlotcellsUMAPPlotcellsUniformClusteringcheckClusterUniformitycheckersToDFcheckObjIsUniformcleancleanPlotsclusterGeneContingencyTablesclustersDeltaExpressionclustersMarkersHeatmapPlotclustersSummaryDataclustersSummaryPlotclustersTreePlotconditionsFromNamescontingencyTablesconvertFromSingleCellExperimentconvertToSingleCellExperimentCOTANdatasetTagsDEAOnClustersdfToCheckersdistancesBetweenClustersdropCellsCoexdropClusterizationdropConditiondropGenesCellsdropGenesCoexECDPlotestablishGenesClustersestimateDispersionNuBisectionestimateDispersionViaSolverestimateLambdaLinearestimateNuLinearestimateNuLinearByClusterestimatorsAreReadyexpectedContingencyTablesexpectedContingencyTablesNNexpectedPartialContingencyTablesexpectedPartialContingencyTablesNNfactorToVectorfindClustersMarkersfindFullyExpressedGenesfindFullyExpressingCellsflagNotFullyExpressedGenesflagNotFullyExpressingCellsfromClustersListGDIPlotgenesCoexSpacegeneSetEnrichmentgenesHeatmapPlotgenesPercentagePlotgenesSizePlotgetAllConditionsgetCellsgetCellsCoexgetCellsSizegetCheckerThresholdgetClusterizationDatagetClusterizationNamegetClusterizationsgetClustersgetClustersCoexgetColorsVectorgetColumnFromDFgetConditiongetConditionNamegetDataMatrixgetDimsgetDispersiongetFullyExpressedGenesgetFullyExpressingCellsgetGDIgetGenesgetGenesCoexgetGenesSizegetLambdagetLogNormDatagetMetadataCellsgetMetadataDatasetgetMetadataElementgetMetadataGenesgetMugetNormalizedDatagetNugetNumCellsgetNumExpressedGenesgetNumGenesgetNumOfExpressingCellsgetNuNormDatagetProbabilityOfZerogetRawDatagetSelectedGenesgetZeroOneProjgroupByClustersgroupByClustersListheatmapPlotinitializeMetaDatasetisCoexAvailablelogFoldChangeOnClusterslogThismat2vec_rfastmergeClustersmergeUniformCellsClustersmitochondrialPercentagePlotmultiMergeClustersniceFactorLevelsnormalizeNameAndLabelsobservedContingencyTablesobservedContingencyTablesYYobservedPartialContingencyTablesobservedPartialContingencyTablesYYplotThemeproceedToCoexpValueFromDEAreorderClusterizationscatterPlotscreePlotsetColumnInDFsetDispersionsetLambdasetLoggingFilesetLoggingLevelsetNushiftCheckerThresholdsstoreGDItoClustersListUMAPPlotvec2mat_rfast
Dependencies:abindaskpassassertthatassortheadbase64encbeachmatBHBiobaseBiocGenericsBiocManagerBiocParallelBiocSingularBiocStylebitbit64bitopsbookdownbslibcachemcaToolscirclizeclicliprclueclustercodetoolscolorspacecommonmarkComplexHeatmapconflictedcowplotcpp11crayoncrosstalkcurldata.tableDelayedArraydeldirdendextenddigestdistributionaldoParalleldotCall64dplyrdqrngevaluatefarverfastDummiesfastmapfitdistrplusFNNfontawesomeforeachformatRfsfutile.loggerfutile.optionsfuturefuture.applygenericsGenomicRangesGEOqueryGetoptLongggdistggplot2ggrepelggridgesggthemesGlobalOptionsglobalsgluegoftestgplotsgridExtragtablegtoolsherehighrhmshtmltoolshtmlwidgetshttpuvhttrhttr2icaigraphIRangesirlbaisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglambda.rlaterlatticelazyevallifecyclelimmalistenvlmtestmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemimeminiUInlmenumDerivopensslotelparallelDistparallellypatchworkpbapplypillarpkgconfigplotlyplyrpngpolyclipprettyunitsprogressprogressrpromisesproxypurrrquadprogR.methodsS3R.ooR.utilsR6RANNrappdirsRColorBrewerRcppRcppAnnoyRcppArmadilloRcppEigenRcppHNSWRcppParallelRcppProgressRcppTOMLreadrrentrezreshape2reticulateRfastrjsonrlangrmarkdownROCRrprojrootRSpectrarsvdRtsnervestS4ArraysS4VectorsS7sassScaledMatrixscalesscattermoresctransformselectrSeqinfoSeuratSeuratObjectshapeshinySingleCellExperimentsitmosnowsourcetoolsspspamSparseArrayspatstat.dataspatstat.explorespatstat.geomspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstatmodstringistringrSummarizedExperimentsurvivalsystensortibbletidyrtidyselecttinytextzdbutf8uwotvctrsviridisviridisLitevroomwithrxfunXMLxml2xtableXVectoryamlzeallotziggzoo
Guided tutorial to datasets cleaning using COTAN
Rendered fromCleaning_GuidedTutorial.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2026-03-19
Started: 2026-03-11
Guided tutorial to Differential Expression Analysis using COTAN
Rendered fromDiffExprAnalysis_GuidedTutorial.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2026-03-19
Started: 2026-03-15
Guided tutorial to genes' clustering using COTAN
Rendered fromGenesClustering_GuidedTutorial.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2026-03-15
Started: 2026-03-11
Guided tutorial to Uniform Transcript cells' clustering using COTAN
Rendered fromUniformClustering_GuidedTutorial.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2026-03-19
Started: 2026-03-11
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| _Clusters_ utilities | asClusterization ClustersList fromClustersList groupByClusters groupByClustersList mergeClusters multiMergeClusters toClustersList |
| Data class conversions | Conversions convertFromSingleCellExperiment convertToSingleCellExperiment |
| Handle legacy 'scCOTAN'-class and related symmetric matrix <-> vector conversions | clustersDeltaExpression COTAN_coerce_to_scCOTAN COTAN_Legacy mat2vec_rfast scCOTAN-class scCotan_coerce_to_COTAN vec2mat_rfast |
| 'COTAN' shortcuts | automaticCOTANObjectCreation COTAN COTAN_ObjectCreation proceedToCoex proceedToCoex,COTAN-method |
| The 'COTAN' class | COTAN-class |
| Data-sets | Datasets ERCCraw raw.dataset test.dataset test.dataset.clusters1 test.dataset.clusters2 vignette.cells.origin vignette.merge.clusters vignette.split.clusters |
| 'getColorsVector' | getColorsVector |
| Calculations of genes statistics | calculateGDI calculateGDIGivenCorr calculateGDIGivenS calculateGenesCE calculatePDI calculatePValue establishGenesClusters genesCoexSpace GenesStatistics getGDI getGDI,COTAN-method storeGDI storeGDI,COTAN-method |
| Calculating the COEX matrix for genes and cells | calculateCoex calculateCoex,COTAN-method calculateG calculateLikelihoodOfObserved calculateMu calculatePartialCoex calculateReducedDataMatrix calculateS CalculatingCOEX contingencyTables dropCellsCoex dropCellsCoex,COTAN-method dropGenesCoex dropGenesCoex,COTAN-method expectedContingencyTables expectedContingencyTablesNN expectedPartialContingencyTables expectedPartialContingencyTablesNN getCellsCoex getCellsCoex,COTAN-method getDataMatrix getGenesCoex getGenesCoex,COTAN-method getMu getSelectedGenes isCoexAvailable isCoexAvailable,COTAN-method observedContingencyTables observedContingencyTablesYY observedPartialContingencyTables observedPartialContingencyTablesYY |
| Handling _meta-data_ in 'COTAN' objects | addElementToMetaDataset addElementToMetaDataset,COTAN-method datasetTags getColumnFromDF getDims getDims,COTAN-method getMetadataCells getMetadataCells,COTAN-method getMetadataDataset getMetadataDataset,COTAN-method getMetadataElement getMetadataElement,COTAN-method getMetadataGenes getMetadataGenes,COTAN-method getMetaInfoRow HandleMetaData initializeMetaDataset initializeMetaDataset,COTAN-method setColumnInDF updateMetaInfo |
| Handle names and factors' levels | conditionsFromNames factorToVector handleNamesSubsets HandleStrings isEmptyName niceFactorLevels |
| Handling cells' _clusterization_ and related functions | addClusterization addClusterization,COTAN-method addClusterizationCoex addClusterizationCoex,COTAN-method cellsUMAPPlot clusterGeneContingencyTables clustersMarkersHeatmapPlot clustersSummaryData clustersSummaryPlot clustersTreePlot DEAOnClusters distancesBetweenClusters dropClusterization dropClusterization,COTAN-method estimateNuLinearByCluster estimateNuLinearByCluster,COTAN-method findClustersMarkers geneSetEnrichment getClusterizationData getClusterizationData,COTAN-method getClusterizationName getClusterizationName,COTAN-method getClusterizations getClusterizations,COTAN-method getClusters getClustersCoex getClustersCoex,COTAN-method HandlingClusterizations logFoldChangeOnClusters pValueFromDEA reorderClusterization UMAPPlot |
| Handling cells' _conditions_ and related functions | addCondition addCondition,COTAN-method dropCondition dropCondition,COTAN-method getAllConditions getAllConditions,COTAN-method getCondition getCondition,COTAN-method getConditionName getConditionName,COTAN-method HandlingConditions normalizeNameAndLabels |
| Heatmap Plots | cellsHeatmapPlot genesHeatmapPlot heatmapPlot HeatmapPlots plotTheme singleHeatmapDF |
| Installing 'torch' 'R' library (on 'WSL-Linux') | Installing_torch |
| Logging in the 'COTAN' package | LoggingFunctions logThis setLoggingFile setLoggingLevel |
| Handling Multi-Core and GPU environments | canUseTorch handleMultiCore MultiThreading |
| Numeric Utilities | calcDist dispersionBisection dispersionNewton funProbZero nuBisection NumericUtilities parallelDispersionBisection parallelDispersionNewton parallelNuBisection |
| Estimation of the 'COTAN' model's parameters | estimateDispersionBisection estimateDispersionNuBisection estimateDispersionNuBisection,COTAN-method estimateDispersionNuNlminb estimateDispersionNuNlminb,COTAN-method estimateDispersionViaSolver estimateDispersionViaSolver,COTAN-method estimateLambdaLinear estimateLambdaLinear,COTAN-method estimateNuBisection estimateNuBisection,COTAN-method estimateNuLinear estimateNuLinear,COTAN-method estimatorsAreReady getDispersion getDispersion,COTAN-method getLambda getLambda,COTAN-method getLogNormData getNormalizedData getNu getNu,COTAN-method getNuNormData getProbabilityOfZero ParametersEstimations |
| Raw data cleaning | cellSizePlot clean clean,COTAN-method cleanPlots dropGenesCells dropGenesCells,COTAN-method ECDPlot findFullyExpressedGenes findFullyExpressedGenes,COTAN-method findFullyExpressingCells findFullyExpressingCells,COTAN-method flagNotFullyExpressedGenes flagNotFullyExpressedGenes,COTAN-method flagNotFullyExpressingCells flagNotFullyExpressingCells,COTAN-method genesPercentagePlot genesSizePlot getFullyExpressedGenes getFullyExpressedGenes,COTAN-method getFullyExpressingCells getFullyExpressingCells,COTAN-method mitochondrialPercentagePlot RawDataCleaning scatterPlot screePlot setDispersion setDispersion,COTAN-method setLambda setLambda,COTAN-method setNu setNu,COTAN-method |
| Raw data 'COTAN' accessors | getCells getCells,COTAN-method getCellsSize getCellsSize,COTAN-method getGenes getGenes,COTAN-method getGenesSize getGenesSize,COTAN-method getNumCells getNumCells,COTAN-method getNumExpressedGenes getNumExpressedGenes,COTAN-method getNumGenes getNumGenes,COTAN-method getNumOfExpressingCells getNumOfExpressingCells,COTAN-method getRawData getRawData,COTAN-method getZeroOneProj getZeroOneProj,COTAN-method RawDataGetters |
| Uniform Clusters | cellsUniformClustering checkClusterUniformity GDIPlot mergeUniformCellsClusters UniformClusters |
| Definition of the *Transcript Uniformity Checker* classes | AdvancedGDIUniformityCheck-class BaseUniformityCheck-class calculateThresholdShiftToUniformity calculateThresholdShiftToUniformity,AdvancedGDIUniformityCheck-method calculateThresholdShiftToUniformity,SimpleGDIUniformityCheck-method checkersToDF checkObjIsUniform checkObjIsUniform,AdvancedGDIUniformityCheck-method checkObjIsUniform,SimpleGDIUniformityCheck-method dfToCheckers GDICheck-class getCheckerThreshold getCheckerThreshold,AdvancedGDIUniformityCheck-method getCheckerThreshold,SimpleGDIUniformityCheck-method shiftCheckerThresholds shiftCheckerThresholds,AdvancedGDIUniformityCheck,numeric-method shiftCheckerThresholds,SimpleGDIUniformityCheck,numeric-method SimpleGDIUniformityCheck-class UniformTranscriptCheckers |
