amanida_vote function

Qualitative meta-analysis

Qualitative meta-analysis

amanida_vote performs vote-counting on qualitative data.

amanida_vote(data)

Arguments

  • data: data imported using amanida_read function w/o names checked by check_names

Returns

METAtable S4 object with vote-counting for each compound on @slot vote

Details

Vote-counting is computed without trend division. Punctuation of entries is based on trend, up-regulation gives 1, down-regulation give -1 and equal behavior gives 0. Total sum is divided then by the total number of entries on each compound. Compound combination is made with PubChem CID when is available.

Note that amanida_vote skips rows with missing values or NA.

Formats compatible are csv, xlsx, xls or txt.

Examples

## Not run: coln = c("Compound Name", "Behaviour", "References") input_file <- system.file("extdata", "dataset2.csv", package = "amanida") data_votes <- amanida_read(input_file, mode = "qual", coln, separator = ";") vote_result <- amanida_vote(data_votes) ## End(Not run)