View source: R/read_candidate_snps.R
read_candidate_snps | R Documentation |
This function reads in a list of candidate SNPs to being DAE quantitative
trait loci, from a text file. One SNP per row. By default, it expects a
header, which will be ignored. If the first line is immediately a SNP,
then use header = FALSE
to not ignore it.
read_candidate_snps(file, header = TRUE, distinct = TRUE)
file |
A path to a file. |
header |
Is the first line a line with a column name? |
distinct |
Remove any duplicate SNPs? |
A one-column data frame. This single column is named snp
.
Rows are the candidate SNPs read from the text file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.