View source: R/CleanUpPopData.R
need tidyverse package
1 | pop_data_output(file = "/cloud/project/data/DNA_Samples_Data_Analysis.csv", columns = c(SJ_number, Species, sub_species), sample_col = SJ_number, samples = c("AR01", "AR02", "AR03"), NA_values = c("", "na"), output_file = "/cloud/project/Output_files/test_pop_data.txt")
|
file |
the file path to the csv file to be converted to text file |
columns |
the columns in the csv file that are to be kept for the text file |
sample_col |
the column that has the sample numbers/names that will be used to select certain rows |
samples |
the samples that are to be kept for the text file |
NA_values |
values in the csv file that should be read as NA values |
output_file |
the file path for the output text file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.