build.add.connenctivity.matrix: Building Adducts connectivity matrix

build.add.connenctivity.matrixR Documentation

Building Adducts connectivity matrix

Description

This functions created the Adducts connectivity matrix needed for the posterior estimation

Usage

build.add.connenctivity.matrix(Prior, DB, ionisation,
  fully.connected = FALSE, v = TRUE, IT = 500)

Arguments

Prior

The output of compute.Priors() function

DB

The database used in a dataframe format. It has to be organized in the same fashion of the one included with the package

ionisation

A character indicating the ionisation mode of the experiment, either 'positive' or 'negative'

fully.connected

A logical value if TRUE all adducts will be considered connected with each other, if FALSE (default) all the adducts are only connected to the main adduct

v

A logical value indicating if the progress will be shown (default TRUE)

IT

A number inticating after how many iteration an update should be shown (default 500)

Value

A binary matrix encoding the adducts connections

Author(s)

Francesco Del Carratore francescodc87@gmail.com

See Also

build.bio.connectivity.matrix build.iso.connectivity.matrix


francescodc87/IPA documentation built on April 7, 2023, 4:27 a.m.