get.strains: get.strains

Description Usage Arguments Value Author(s) Examples

View source: R/get.strains.R

Description

Get available strain names for a set of strains from a variant file.

Usage

1
2
  get.strains(
  file = "http://cgd.jax.org/tools/SNPtools/Build38/sanger.snps.NCBI38.txt.gz")

Arguments

file

Character, full path to the variants file to use. Default is the file at the Center for Genome Dynamics at The Jackson Laboratory.

Value

Character vector of strain names in the variant file.

Author(s)

Daniel Gatti

Examples

1
2
3
4
5
6
  ## Not run: 
  available.strains = get.strains()
  strains = available.strains[c(2, 5, 8, 9, 13:15, 17)]
  snps = get.variants(chr = 7, start = 103, end = 105, strains = strains)
  
## End(Not run)

SNPtools documentation built on May 29, 2017, 3:12 p.m.