getCols
¶
Choose columns from summary file
Description¶
Given an ARGweaver summary file, return columns of interest
Usage¶
getCols(x, inds, prefix = "", suffix = "", or = FALSE)
Arguments¶
Argument |
Description |
---|---|
|
A data frame read by readSummary() |
|
A vector of character strings containing individual (or haplotype names) relevant to desired columns |
|
Choose only columns with this prefix |
|
Choose only columns with this suffix |
|
If TRUE, return columns that mention any of the individuals. If FALSE, return columns that mention all the individuals |
Value¶
A list of column names from x that meet the criteria
Note¶
This may not work as desired if some individual names are subsets of others