sample_data_with_new_names {MiscMetabar} | R Documentation |
Load sample data from file and rename samples using names of samples and an optional order
Description
Usage
sample_data_with_new_names(
file_path,
names_of_samples,
samples_order = NULL,
...
)
Arguments
file_path |
(required) a path to the sample_data file |
names_of_samples |
(required) a vector of sample names |
samples_order |
Optional numeric vector to sort sample names |
... |
Other arguments passed on to |
Value
A data.frame from file_path and new names
Author(s)
Adrien Taudière
See Also
Examples
sam_file <- system.file("extdata", "sam_data.csv", package = "MiscMetabar")
sample_data_with_new_names(sam_file, paste0("Samples_", seq(1, 185)))
[Package MiscMetabar version 0.9.1 Index]