fb_clean_stock_name: Returns the flybase stock name when the flybase genotype name...

Description Usage Arguments Value Examples

View source: R/fb_clean_stock_name.r

Description

Returns the flybase stock name when the flybase genotype name (with @ entries) is provided, only one name can be given at a time

Usage

1
fb_clean_stock_name(genotype_name, output = "text")

Arguments

genotype_name

(character) flybase stock genotype name out of genotype table

output

(character) choose type of return, "text" for a text version, "table" for a table with each allele as a row, "html" for a html version of the name with links to flybase

Value

depending on output

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

fb_clean_stock_name( genotype_name = "w<up>*</up>; @FBal0000021:βTub60D<up>2</up>@ w<up>*</up> @FBal0005583:Kr<up>If-1</up>@/@FBba0000025:[email protected]")

conn <- fb_connect()
genotype <- fb_get_stockname(conn, fbst = "FBst0000002")
#' fb_clean_stock_name( genotype_name = genotype)
fb_clean_stock_name( genotype_name = genotype, output = "html")
#' 
## End(Not run)

ropensci/rflybase documentation built on May 16, 2018, 7:03 a.m.