read.blast: Read a tab-delimited blast file

View source: R/readFiles.R

read.blastR Documentation

Read a tab-delimited blast file

Description

Read a tab-delimited blast file

Usage

read.blast(fileName, skips = 0, nrows = -1, calcScore = TRUE)

Arguments

fileName

name of file

skips

number of lines to skip (0 for a normal blast file)

nrows

number of rows to read in (-1 for all)

calcScore

if TRUE, calculate score column

Value

dataframe of blat data

Examples

blastString<-c(
  "read1	target1	34.56	100	2	1	101	200	400	500	1e-11	96",
  "read2	target2	100	1000	200	10	102	1100	401	2000	1e-21	123"
)
read.blast(textConnection(blastString))


sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.