Description Usage Arguments Details Value Author(s) References Examples
Separate the pool and sample call information into usable columns.
1 | parseVarScan(file, sampleNames = NULL, ignoreIndels = TRUE)
|
file |
Either a character vector of length 1 giving the name of a tab-separated VarScan file to read in, or a data.frame or matrix containing the VarScan output table. |
sampleNames |
A character vector giving the names to assign to the split sample calls. |
ignoreIndels |
Logical: should positions with indels be omitted from the returned file (default: TRUE) |
This assumes that the headers have not been modified
Returns a data.frame with rows for each row (ommiting the indels if ignoreIndels == TRUE), but with each portion of the calls separated.
Mark Peterson
Relies on the VarScan output documented here: http://varscan.sourceforge.net/using-varscan.html
1 2 3 4 5 6 7 8 | ## Get example data
## This could be just read in using read.table for your data
data(varScanExample)
parseTest <- parseVarScan(varScanExample,
sampleNames=LETTERS[1:10])
head(parseTest)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.