amanida_vote | R Documentation |
amanida_vote
performs vote-counting on qualitative data.
amanida_vote(data)
data |
data imported using |
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.
METAtable S4 object with vote-counting for each compound on @slot vote
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.