View source: R/read_snp_gen_positions.R
read_snp_gen_positions | R Documentation |
This function reads in genomic positions from a text file. The data is expected to be in tabular format. First column is expected to be the locus identity (e.g. SNP identifier), second column is the human chromosome (e.g., 22 or X), and the third column is the position.
read_snp_gen_positions(file, sep = ",", header = TRUE, ...)
file |
A path to a file containing the SNP genomic positions. |
sep |
The separator between columns. |
header |
Does the first data line contain column names? |
... |
Extra arguments passed on to |
A data frame of genomic positions. Each row is for a locus. The locus
identity is indicated in the first column (snp
). Second column is
the chromosome, and the third column is the position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.