{
  "_id": "6ac2c9f6d743750d376d94e1",
  "Package": "linf",
  "Type": "Package",
  "Title": "L-Infinity Normalization and Dominant Community State Types",
  "Version": "0.3.1",
  "Authors@R": "person(\"Pawel\", \"Gajer\", , \"pgajer@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Author": "Pawel Gajer [aut, cre]",
  "Maintainer": "Pawel Gajer <pgajer@gmail.com>",
  "Description": "Implements L-infinity normalization for compositional\nmatrices, assigns samples to dominant features, constructs\ntruncated and hierarchically refined dominant community state\ntypes, constructs unordered dominance sets with support-based\nsample filtering, and computes representative landmark\nprofiles. The methods are described by Gajer and Ravel (2025)\n<doi:10.48550/arXiv.2503.21543>. Bundled vaginal and gut\nmicrobiome data support reproducible demonstrations of the\npackage interface; phenotype fields in the stratified gut\nsubset are illustrative and are not suitable for\npopulation-level inference.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://pgajer.github.io/linf/, https://github.com/pgajer/linf,\nhttps://arxiv.org/abs/2503.21543",
  "BugReports": "https://github.com/pgajer/linf/issues",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "7.3.3",
  "Repository": "https://pgajer.r-universe.dev",
  "Date/Publication": "2026-10-04 19:43:03 UTC",
  "RemoteUrl": "https://github.com/pgajer/linf",
  "RemoteRef": "HEAD",
  "RemoteSha": "810a0a84786215117f22490b10b6efa0cce51b9a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 21:46:03 UTC",
    "User": "root"
  },
  "_user": "pgajer",
  "_type": "src",
  "_file": "linf_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/29edd378c8ccbaa6648a0f554318cdebd95c9deb83082e3d7769144aeb47f3bd",
  "_filesize": 1510254,
  "_sha256": "29edd378c8ccbaa6648a0f554318cdebd95c9deb83082e3d7769144aeb47f3bd",
  "_expires": "2027-01-12T21:49:40.000Z",
  "_created": "2026-10-04T21:46:03.000Z",
  "_published": "2026-10-04T21:49:42.720Z",
  "_jobs": [
    {
      "job": 111539268356,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11316610864"
    },
    {
      "job": 111539268383,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11315668138"
    },
    {
      "job": 111539268392,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11316257188"
    },
    {
      "job": 111539268455,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11316455880"
    },
    {
      "job": 111538631821,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11316690083"
    },
    {
      "job": 111539268397,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11315978180"
    },
    {
      "job": 111539268430,
      "time": 89,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11316381654"
    },
    {
      "job": 111539268415,
      "time": 102,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11315732902"
    },
    {
      "job": 111539268406,
      "time": 103,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11316197105"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265",
  "_status": "success",
  "_upstream": "https://github.com/pgajer/linf",
  "_commit": {
    "id": "810a0a84786215117f22490b10b6efa0cce51b9a",
    "author": "pgajer <pgajer@gmail.com>",
    "committer": "pgajer <pgajer@gmail.com>",
    "message": "Add triple-supported unordered pair-state graph construction\n",
    "time": 1791142983
  },
  "_maintainer": {
    "name": "Pawel Gajer",
    "email": "pgajer@gmail.com",
    "login": "pgajer",
    "description": "",
    "uuid": 321355
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "pgajer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 4
    },
    {
      "week": "2026-13",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-30",
      "n": 8
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 11
    },
    {
      "week": "2026-36",
      "n": 4
    },
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-38",
      "n": 9
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pgajer",
      "count": 67,
      "uuid": 321355
    }
  ],
  "_userbio": {
    "uuid": 321355,
    "type": "user",
    "name": "Pawel",
    "followers": 3
  },
  "_downloads": {
    "count": 342,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/linf"
  },
  "_devurl": "https://github.com/pgajer/linf",
  "_pkgdown": "https://pgajer.github.io/linf/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/linf.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/pgajer/linf",
  "_realowner": "pgajer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-05"
    },
    {
      "version": "0.2.0",
      "date": "2026-08-21"
    },
    {
      "version": "0.3.0",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "dcst.view",
    "filter.asv",
    "linf.csts",
    "linf.dcst.landmark.pipeline",
    "linf.dominant.features",
    "linf.feature.labels",
    "linf.hypercube.embedding",
    "linf.landmarks",
    "linf.udcst.graph",
    "linf.udcsts",
    "normalize.linf",
    "refine.linf.csts",
    "transfer.dcsts"
  ],
  "_datasets": [
    {
      "name": "agp_gut",
      "title": "American Gut Project gut microbiome dataset",
      "object": "agp_gut",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "valencia_linf_hypercube_1k",
      "title": "Valencia 1k four-component hypercube embedding example",
      "object": "valencia_linf_hypercube_1k",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "valencia13k_dcst_depth2_merged",
      "title": "Valencia 13k merged depth-2 dCST assignments",
      "object": "valencia13k_dcst_depth2_merged",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "valencia13k_dcst_depth3_merged",
      "title": "Valencia 13k merged depth-3 dCST assignments",
      "object": "valencia13k_dcst_depth3_merged",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "valencia2k",
      "title": "Valencia 2k vaginal microbiome dataset",
      "object": "valencia2k",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "linf-package",
      "title": "L-Infinity Normalization and Dominant Community State Types",
      "topics": [
        "linf-package",
        "linf"
      ]
    },
    {
      "page": "agp_gut",
      "title": "American Gut Project gut microbiome dataset",
      "topics": [
        "agp_gut"
      ]
    },
    {
      "page": "dcst.view",
      "title": "Select a stored dCST policy view",
      "topics": [
        "dcst.view"
      ]
    },
    {
      "page": "filter.asv",
      "title": "Filter ASV count matrix by library size (samples) and prevalence (features)",
      "topics": [
        "filter.asv"
      ]
    },
    {
      "page": "linf.csts",
      "title": "Truncated dominant community state types with configurable low-support handling",
      "topics": [
        "linf.csts"
      ]
    },
    {
      "page": "linf.dcst.landmark.pipeline",
      "title": "Landmark-aware dCST pipeline",
      "topics": [
        "linf.dcst.landmark.pipeline"
      ]
    },
    {
      "page": "linf.dominant.features",
      "title": "Dominant-feature assignment",
      "topics": [
        "linf.dominant.features"
      ]
    },
    {
      "page": "linf.feature.labels",
      "title": "Format feature labels for dominant-feature assignments and dCSTs",
      "topics": [
        "linf.feature.labels"
      ]
    },
    {
      "page": "linf.hypercube.embedding",
      "title": "Extended homogeneous-coordinate hypercube embedding",
      "topics": [
        "linf.hypercube.embedding"
      ]
    },
    {
      "page": "linf.landmarks",
      "title": "Landmark points for dCST dominance-lineages",
      "topics": [
        "linf.landmarks"
      ]
    },
    {
      "page": "linf.udcst.graph",
      "title": "Triple-Supported Graph of Unordered Pair States",
      "topics": [
        "linf.udcst.graph"
      ]
    },
    {
      "page": "linf.udcsts",
      "title": "Unordered Dominance Community State Types",
      "topics": [
        "linf.udcsts"
      ]
    },
    {
      "page": "normalize.linf",
      "title": "L-infinity normalization (row-wise)",
      "topics": [
        "normalize.linf"
      ]
    },
    {
      "page": "print.linf.csts",
      "title": "Print method for '\"linf.csts\"'",
      "topics": [
        "print.linf.csts"
      ]
    },
    {
      "page": "refine.linf.csts",
      "title": "Refine a dCST hierarchy by one level",
      "topics": [
        "refine.linf.csts"
      ]
    },
    {
      "page": "summary.linf.csts",
      "title": "Summarize dCST hierarchy statistics",
      "topics": [
        "summary.linf.csts"
      ]
    },
    {
      "page": "transfer.dcsts",
      "title": "Transfer samples into a frozen dCST hierarchy",
      "topics": [
        "transfer.dcsts"
      ]
    },
    {
      "page": "valencia_linf_hypercube_1k",
      "title": "Valencia 1k four-component hypercube embedding example",
      "topics": [
        "valencia_linf_hypercube_1k"
      ]
    },
    {
      "page": "valencia13k_dcst_depth2_merged",
      "title": "Valencia 13k merged depth-2 dCST assignments",
      "topics": [
        "valencia13k_dcst_depth2_merged"
      ]
    },
    {
      "page": "valencia13k_dcst_depth3_merged",
      "title": "Valencia 13k merged depth-3 dCST assignments",
      "topics": [
        "valencia13k_dcst_depth3_merged"
      ]
    },
    {
      "page": "valencia2k",
      "title": "Valencia 2k vaginal microbiome dataset",
      "topics": [
        "valencia2k"
      ]
    }
  ],
  "_readme": "https://github.com/pgajer/linf/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix"
  ],
  "_vignettes": [
    {
      "source": "linf-vaginal.Rmd",
      "filename": "linf-vaginal.html",
      "title": "dCSTs for Vaginal Microbiome Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The Valencia 2k dataset",
        "Reconstructing counts",
        "$L^\\infty$ normalization",
        "Dominance sample sets: dominant species assignment",
        "Depth-1 dCSTs",
        "Concordance with Valencia CSTs",
        "Depth-2 refinement",
        "Concordance with Valencia sub-CSTs",
        "The full pipeline",
        "Landmark points",
        "Summary",
        "References"
      ],
      "created": "2026-03-25 22:35:00",
      "modified": "2026-09-15 14:30:02",
      "commits": 5
    },
    {
      "source": "linf-intro.Rmd",
      "filename": "linf-intro.html",
      "title": "Dominant Community State Types: From Normalization to a Gut Demonstration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Part 1: Quick Start with Toy Data",
        "L-infinity normalization",
        "Dominance sample sets",
        "Truncated dCSTs",
        "Part 2: Gut Microbiome dCST Demonstration",
        "Background",
        "The data",
        "Step 1: Quality filtering",
        "Step 2: L-infinity normalization",
        "Step 3: Depth-1 dCSTs",
        "How sensitive is depth 1 to the support threshold?",
        "Step 4: Depth-2 refinement",
        "Dominance strength",
        "dCST size distribution",
        "Phenotype metadata",
        "Limitations",
        "Summary"
      ],
      "created": "2025-09-25 15:09:01",
      "modified": "2026-09-15 16:37:24",
      "commits": 9
    },
    {
      "source": "example-datasets.Rmd",
      "filename": "example-datasets.html",
      "title": "Example datasets and reproducible workflows",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Choose a dataset",
        "Provenance and scope",
        "Gut counts",
        "Valencia abundance data and saved assignments",
        "Four-component data",
        "Align data and metadata",
        "Constructed edge cases",
        "Reference and query",
        "A static chart from the four-component data"
      ],
      "created": "2026-09-15 14:30:02",
      "modified": "2026-09-15 23:08:00",
      "commits": 3
    },
    {
      "source": "function-guide.Rmd",
      "filename": "function-guide.html",
      "title": "Finding your way around linf",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Choose a task",
        "A small workflow, with stopping points",
        "Function catalog",
        "Prepare and assign",
        "Fit and inspect a hierarchy",
        "Reuse and display",
        "Matrix and identity conventions",
        "Unordered dominance sets",
        "Filtering, scaling and grouping answer different questions",
        "Ties and random seeds",
        "What a dCST hierarchy stores",
        "Refinement choices",
        "Landmarks are selected observations",
        "The optional pipeline",
        "Transfer to a frozen reference",
        "Inspect a transfer decision and saved refinement settings",
        "Embeddings and display labels",
        "Resource planning",
        "Finding help and migrating older code",
        "Triple-supported pair-state graphs"
      ],
      "created": "2026-09-15 14:30:02",
      "modified": "2026-10-04 19:43:03",
      "commits": 7
    }
  ],
  "_score": 5.505149978319906,
  "_indexed": true,
  "_nocasepkg": "linf",
  "_universes": [
    "pgajer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-10-04T21:48:09.000Z",
      "distro": "resolute",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/fc5ccb24af94fc605e6629e60891983ddf631fb8614d13dff6278f69bf291743",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-10-04T21:48:26.000Z",
      "distro": "resolute",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/298ee97456693c596f9afea5d050095fbac2a97ec15b3587a567418cb98be41a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-10-04T21:48:28.000Z",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/7b45a09102ff10b64e2928d7504bca987667272c6a4beb167bfe420caab2632c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-10-04T21:49:05.000Z",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/d9436abde03aa203dba366971bbb87a87610d8190d8f85392b525561987d8f0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-10-04T21:47:57.000Z",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/cb5d696def294fcf51906c9970538f9cf4acae04d4ae62c130ced3a8555e07d4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-04T21:47:16.000Z",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/dfc0ce6a5d88f55e36a3e18722348f60911b5b7abddcb0971d42ccc3d22c3fd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-04T21:47:47.000Z",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/0f46d014c6e147239644bcd643938ad72c8deed1f04d199c49eaef7320b687e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-04T21:47:41.000Z",
      "commit": "810a0a84786215117f22490b10b6efa0cce51b9a",
      "fileid": "https://r2.ropensci.org/9dd2dcdf88c83f9f1f13deb30846437eabfe6f0994dcd665685a54e9b479e956",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pgajer/actions/runs/37237198265"
    }
  ]
}