{
  "_id": "6a103fc3acfb0bcc41c9cf1d",
  "Package": "mclink",
  "Title": "Metabolic Pathway Completeness and Abundance Calculation",
  "Version": "1.1.1",
  "Authors@R": "person(given = \"Liuyang\",\nfamily = \"Li\",\nemail = \"cyanobacteria@yeah.net\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6004-9437\"))",
  "Description": "Provides tools for analyzing metabolic pathway\ncompleteness, abundance, and transcripts using KEGG Orthology\n(KO) data from (meta)genomic and (meta)transcriptomic studies.\nSupports both completeness (presence/absence) and\nabundance-weighted analyses. Includes built-in KEGG reference\ndatasets. For more details see Li et al. (2023)\n<doi:10.1038/s41467-023-42193-7>.",
  "URL": "https://github.com/LiuyangLee/mclink",
  "BugReports": "https://github.com/LiuyangLee/mclink/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "LazyData": "false",
  "Config/check/use_internal_tz": "TRUE",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 08:38:23 UTC",
    "User": "root"
  },
  "Author": "Liuyang Li [aut, cre] (<https://orcid.org/0000-0001-6004-9437>)",
  "Maintainer": "Liuyang Li <cyanobacteria@yeah.net>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://liuyanglee.r-universe.dev",
  "Date/Publication": "2025-10-25 14:56:06 UTC",
  "RemoteUrl": "https://github.com/liuyanglee/mclink",
  "RemoteRef": "HEAD",
  "RemoteSha": "4398570c48895ad0070b8f06078f538a0f695ca1",
  "MD5sum": "c0c0de41cd199546f9b530b2e51972a5",
  "_user": "liuyanglee",
  "_type": "src",
  "_file": "mclink_1.1.1.tar.gz",
  "_fileid": "f48d9a25ece313a04edb34575b7886532660c717ce4b3c256f414c843914db93",
  "_filesize": 335271,
  "_sha256": "f48d9a25ece313a04edb34575b7886532660c717ce4b3c256f414c843914db93",
  "_created": "2026-05-11T08:38:23.000Z",
  "_published": "2026-05-22T11:36:35.983Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77371730085,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6913949247"
    },
    {
      "job": 77371730257,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913943410"
    },
    {
      "job": 77371730419,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6913943245"
    },
    {
      "job": 77371730376,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913938856"
    },
    {
      "job": 77371729942,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913906335"
    },
    {
      "job": 77371729748,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159541355"
    },
    {
      "job": 77371730034,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6913935723"
    },
    {
      "job": 77371730520,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6913930898"
    },
    {
      "job": 77371730075,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913935201"
    }
  ],
  "_buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/liuyanglee/mclink",
  "_commit": {
    "id": "4398570c48895ad0070b8f06078f538a0f695ca1",
    "author": "LiuyangLee <archaliuyang@outlook.com>",
    "committer": "LiuyangLee <archaliuyang@outlook.com>",
    "message": "Second commit\n",
    "time": 1761404166
  },
  "_maintainer": {
    "name": "Liuyang Li",
    "email": "cyanobacteria@yeah.net",
    "orcid": "0000-0001-6004-9437"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "version": ">= 1.17.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.4",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.5.1",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.1",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "liuyanglee",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 10
    },
    {
      "week": "2025-43",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "liuyanglee",
      "count": 27,
      "uuid": 73391639
    }
  ],
  "_userbio": {
    "uuid": 73391639,
    "type": "user",
    "name": "Liuyang Li"
  },
  "_downloads": {
    "count": 193,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mclink"
  },
  "_devurl": "https://github.com/liuyanglee/mclink",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mclink.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/liuyanglee/mclink",
  "_realowner": "liuyanglee",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2025-08-22"
    },
    {
      "version": "1.1.1",
      "date": "2025-10-26"
    }
  ],
  "_exports": [
    "add_rows_if_not_exists",
    "ata_cal",
    "convert_abundance_to_presence",
    "create_sub_module_sample",
    "escape_special_chars",
    "extract_inner_brackets",
    "group_ko_by_module",
    "KO_pathway_ref",
    "KO_Sample_wide",
    "mclink",
    "merge_module_name",
    "process_all_modules",
    "process_all_pathways",
    "process_module_brackets",
    "process_module_definition",
    "process_module_loop_comma",
    "process_module_loop_plu_comma",
    "process_module_loop_plus",
    "process_module_step",
    "process_module_structure",
    "process_step_comma",
    "process_step_direct",
    "process_step_plus",
    "process_step_space",
    "read_and_process_KO_table",
    "read_and_process_pathway_infor",
    "remove_outer_brackets"
  ],
  "_datasets": [
    {
      "name": "KO_pathway_ref",
      "title": "KEGG Orthology (KO) Pathway Information Dataset",
      "object": "KO_pathway_ref",
      "file": "KO_pathway_ref.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Orthology_Entry",
        "Module_Type",
        "Level_2",
        "Level_3",
        "Module_Entry",
        "Module_Name",
        "Definition",
        "Orthology_Symbol",
        "Orthology_Name",
        "KO_Symbol"
      ],
      "rows": 3846,
      "table": true,
      "tojson": true
    },
    {
      "name": "KO_Sample_wide",
      "title": "KEGG Orthology (KO) Abundance/Presence Across Microbial Samples or Genomes",
      "object": "KO_Sample_wide",
      "file": "KO_Sample_wide.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "KO",
        "Marinobacter salarius",
        "Pseudooceanicola nanhaiensis",
        "Alteromonas australica",
        "Henriciella pelagia"
      ],
      "rows": 2495,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_rows_if_not_exists",
      "title": "Add Missing Rows to a Data Frame",
      "topics": [
        "add_rows_if_not_exists"
      ]
    },
    {
      "page": "ata_cal",
      "title": "Calculate Log2 Ratio of Sample Values to Row Means",
      "topics": [
        "ata_cal"
      ]
    },
    {
      "page": "convert_abundance_to_presence",
      "title": "Convert Abundance Values to Presence/Absence Indicators",
      "topics": [
        "convert_abundance_to_presence"
      ]
    },
    {
      "page": "create_sub_module_sample",
      "title": "Create and Export Pathway-Specific Module Sample Files",
      "topics": [
        "create_sub_module_sample"
      ]
    },
    {
      "page": "escape_special_chars",
      "title": "Escape Special Characters in a String",
      "topics": [
        "escape_special_chars"
      ]
    },
    {
      "page": "extract_inner_brackets",
      "title": "Extract Innermost Parentheses Content",
      "topics": [
        "extract_inner_brackets"
      ]
    },
    {
      "page": "group_ko_by_module",
      "title": "Group KO Abundance Data by Module",
      "topics": [
        "group_ko_by_module"
      ]
    },
    {
      "page": "KO_pathway_ref",
      "title": "KEGG Orthology (KO) Pathway Information Dataset",
      "topics": [
        "KO_pathway_ref"
      ]
    },
    {
      "page": "KO_Sample_wide",
      "title": "KEGG Orthology (KO) Abundance/Presence Across Microbial Samples or Genomes",
      "topics": [
        "KO_Sample_wide"
      ]
    },
    {
      "page": "mclink",
      "title": "Metabolic Pathway Coverage Analysis",
      "topics": [
        "mclink"
      ]
    },
    {
      "page": "merge_module_name",
      "title": "Merge Module Information with Module Table",
      "topics": [
        "merge_module_name"
      ]
    },
    {
      "page": "process_all_modules",
      "title": "Process All Modules in Pathway Information",
      "topics": [
        "process_all_modules"
      ]
    },
    {
      "page": "process_all_pathways",
      "title": "Process All Pathways Analysis",
      "topics": [
        "process_all_pathways"
      ]
    },
    {
      "page": "process_module_brackets",
      "title": "Process Module Brackets Recursively",
      "topics": [
        "process_module_brackets"
      ]
    },
    {
      "page": "process_module_definition",
      "title": "Process Module Definition String",
      "topics": [
        "process_module_definition"
      ]
    },
    {
      "page": "process_module_loop_comma",
      "title": "Process Module Components with Comma Handling",
      "topics": [
        "process_module_loop_comma"
      ]
    },
    {
      "page": "process_module_loop_plu_comma",
      "title": "Process Module Components with Plus and Comma Handling",
      "topics": [
        "process_module_loop_plu_comma"
      ]
    },
    {
      "page": "process_module_loop_plus",
      "title": "Process Module Components with Plus Sign Handling",
      "topics": [
        "process_module_loop_plus"
      ]
    },
    {
      "page": "process_module_step",
      "title": "Process Module Steps with Complex KO String Handling",
      "topics": [
        "process_module_step"
      ]
    },
    {
      "page": "process_module_structure",
      "title": "Process Module Structure Data",
      "topics": [
        "process_module_structure"
      ]
    },
    {
      "page": "process_step_comma",
      "title": "Process Comma-Separated KOs with Specified Scaling Method",
      "topics": [
        "process_step_comma"
      ]
    },
    {
      "page": "process_step_direct",
      "title": "Direct KO Processing Without Special Handling",
      "topics": [
        "process_step_direct"
      ]
    },
    {
      "page": "process_step_plus",
      "title": "Process Plus-Separated KOs with Specified Scaling Method",
      "topics": [
        "process_step_plus"
      ]
    },
    {
      "page": "process_step_space",
      "title": "Process Space-Separated KOs with Mean Calculation",
      "topics": [
        "process_step_space"
      ]
    },
    {
      "page": "read_and_process_KO_table",
      "title": "Read and Process KO Sample Table with Pathway Information",
      "topics": [
        "read_and_process_KO_table"
      ]
    },
    {
      "page": "read_and_process_pathway_infor",
      "title": "Read and process Pathway information dataframe",
      "topics": [
        "read_and_process_pathway_infor"
      ]
    },
    {
      "page": "remove_outer_brackets",
      "title": "Remove Outer Parentheses from String",
      "topics": [
        "remove_outer_brackets"
      ]
    }
  ],
  "_readme": "https://github.com/liuyanglee/mclink/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "data.table",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "mclink",
  "_universes": [
    "liuyanglee"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-11T08:40:32.000Z",
      "distro": "noble",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "c15ba1a62f95f586e874d94476215aff651b23af6916ca6b914c2beec657b1db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-11T08:40:15.000Z",
      "distro": "noble",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "0490e78eef2de088fa81494e869bb641fe87d8d76824305fd4c811732020b621",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-11T08:40:14.000Z",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "cfcc3fe470a1e5704aaa83ec920517034211396f01d0e71f8387bb13e8291647",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-11T08:40:03.000Z",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "859deffa2cb0270fc04ed7eaa3323657c1b930f82ecf4227597de0802cb3a977",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-11T08:39:44.000Z",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "b68e39e8d117da213bbf1aee7955d8eadb3ac37922d3c14e23e821c07a5c7002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-11T08:39:29.000Z",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "15876fa86407ff26d76f1b67d855c9baec66246d60a4a834753443b59f2aab7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-11T08:39:43.000Z",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "0a603be40ba391272b3d08e94e2f956f9e0677d33fd1d349461dc213d1815878",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-05-22T11:36:19.000Z",
      "commit": "4398570c48895ad0070b8f06078f538a0f695ca1",
      "fileid": "acad6bd16243ec5eef513bce35c1e00c4d74f09987c61a30ee4123dfb2769280",
      "status": "success",
      "buildurl": "https://github.com/r-universe/liuyanglee/actions/runs/25659382493"
    }
  ]
}