View source: R/para_read_data.R
| para_read_data | R Documentation |
Load data from a .CSV file
para_read_data(file_name, verbose = FALSE)
file_name |
Name of .CSV table file. |
verbose |
A logical value indicating if progress messages should be given. |
This package includes a specific function to import tables (.CSV files) into the R environment. Each row in the table should correspond to an individual host that was analyzed, while the columns may contain both quantitative and qualitative variables. Columns may represent two principal categories of variables:
"Host-related variables": Encompassing metadata such as the site of specimen collection, host species, morphophysiological traits, applied experimental treatments, and other relevant descriptors.
"Parasite-related variables": Denoting parasite abundance per host, typically structured across multiple columns corresponding to the finest available taxonomic resolution (e.g., species, genus, family, order).
Parasite abundance values must be encoded as non-negative integers. It is critical to distinguish between the following:
0: Represents a confirmed absence of the parasite in the host specimen.
NA: Indicates that parasite detection or quantification was not feasible due to methodological or technical limitations.
The function returns:
dataset |
A table that can be used as input for other parasiteR functions. |
factors_v |
A list of columns with factor values. |
num_v |
A list of columns with numeric values. |
summ |
A summary of the loaded data. Check |
Juan Manuel Cabrera, Exequiel Furlan and Elisa Helman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.