{
  "name": "poppr core functions: task, return value and reference page",
  "description": "Compiled from the official poppr reference pages and data-import vignette (read 2026-11-15): each row pairs a common clonal-population analysis task with the poppr or adegenet function that performs it, what the function returns and the usage detail shown in its reference page.",
  "page": "https://casrai.org/guides/poppr",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-15T18:50:31Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Function",
      "unit": "",
      "description": ""
    },
    {
      "name": "Task",
      "unit": "",
      "description": ""
    },
    {
      "name": "Returns or key arguments",
      "unit": "",
      "description": ""
    },
    {
      "name": "Reference page",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Function": "read.genalex()",
      "Task": "Import a GenAlEx CSV file",
      "Returns or key arguments": "genclone object by default; arguments ploidy (default 2), geo, region, genclone (default TRUE), sep (default \",\"), recode",
      "Reference page": "Data import and manipulation in poppr (vignette)"
    },
    {
      "Function": "as.genclone()",
      "Task": "Convert a genind object for MLG analysis",
      "Returns or key arguments": "genclone object; genclone2genind() reverses it",
      "Reference page": "Data import and manipulation in poppr (vignette)"
    },
    {
      "Function": "mlg()",
      "Task": "Count multilocus genotypes",
      "Returns or key arguments": "Number of MLGs in the dataset",
      "Reference page": "poppr reference index; clonecorrect() examples"
    },
    {
      "Function": "clonecorrect()",
      "Task": "Remove duplicated MLGs within population strata",
      "Returns or key arguments": "Clone-corrected object; arguments pop, strata = 1, combine = FALSE, keep = 1",
      "Reference page": "clonecorrect() reference"
    },
    {
      "Function": "poppr()",
      "Task": "Summarise diversity, evenness and linkage per population",
      "Returns or key arguments": "Data frame with Pop, N, MLG, eMLG, SE, H, G, lambda, E.5, Hexp, Ia, p.Ia, rbarD, p.rD, File",
      "Reference page": "poppr() reference"
    },
    {
      "Function": "ia()",
      "Task": "Index of association over all loci",
      "Returns or key arguments": "Named vector: Ia and rbarD (length 2); with sample also p.Ia and p.rD (length 4)",
      "Reference page": "ia() reference"
    },
    {
      "Function": "pair.ia()",
      "Task": "Index of association for each locus pair",
      "Returns or key arguments": "Matrix with Ia and rbarD columns, choose(nLoc(gid), 2) rows",
      "Reference page": "ia() reference"
    },
    {
      "Function": "resample.ia()",
      "Task": "Recalculate the index on reduced datasets",
      "Returns or key arguments": "Data frame with Ia and rbarD; rows equal reps (default 999)",
      "Reference page": "ia() reference"
    },
    {
      "Function": "genind2genalex()",
      "Task": "Export to a GenAlEx CSV file",
      "Returns or key arguments": "CSV file; overwrites an existing file of the same name",
      "Reference page": "Data import and manipulation in poppr (vignette)"
    }
  ],
  "sources": [
    {
      "title": "poppr: clonecorrect() reference",
      "url": "https://grunwaldlab.github.io/poppr/reference/clonecorrect.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "poppr: poppr() reference",
      "url": "https://grunwaldlab.github.io/poppr/reference/poppr.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "poppr: ia() reference",
      "url": "https://grunwaldlab.github.io/poppr/reference/ia.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "Data import and manipulation in poppr",
      "url": "https://grunwaldlab.github.io/poppr/articles/poppr_manual.html",
      "accessed": "2026-11-15"
    }
  ]
}