build.add.connenctivity.matrix | R Documentation |
This functions created the Adducts connectivity matrix needed for the posterior estimation
build.add.connenctivity.matrix(Prior, DB, ionisation,
fully.connected = FALSE, v = TRUE, IT = 500)
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) |
A binary matrix encoding the adducts connections
Francesco Del Carratore francescodc87@gmail.com
build.bio.connectivity.matrix build.iso.connectivity.matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.