Types

ISCHIA.CooccurOutputType

A mutable struct representing the output of co-occurrence analysis.

Fields

  • results::DataFrame: A DataFrame containing analysis results.
  • positive::Int: The count of positive results.
  • negative::Int: The count of negative results.
  • co_occurrences::Int: The count of co-occurrences.
  • pairs::Int: The total number of pairs.
  • random::Int: The count of random results.
  • unclassifiable::Int: The count of unclassifiable results.
  • sites::Matrix{Int}: A matrix representing site information.
  • species::Int: The count of species.
  • percent_sig::Float64: The percentage of significant results.
  • spp_key::Union{Nothing, DataFrame}: A DataFrame containing species keys (optional).
  • spp_names::Union{Vector{Int}, Vector{String}}: A vector of species names. If names weren't provided, then it would contain numerical identifiers.
  • omitted::Union{Nothing, Int}: The count of omitted results (optional).
  • pot_pairs::Union{Nothing, Int}: The count of potential pairs (optional).
  • true_rand_classifier::Float64: The true random classifier value.

This mutable struct is used to encapsulate and organize the results of co-occurrence analysis.

source