amanida_vote {amanida}R Documentation

Qualitative meta-analysis

Description

amanida_vote performs vote-counting on qualitative data.

Usage

amanida_vote(data)

Arguments

data

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

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.

Value

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

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)


[Package amanida version 0.3.0 Index]