annotatePlain {seqminer} | R Documentation |
Annotate a plain text file
Description
Annotate a plain text file
Usage
annotatePlain(inFile, outFile, params)
Arguments
inFile |
input file name |
outFile |
output file name |
params |
parameters |
Value
0 if succeed
Examples
param <- list(reference = system.file("tabanno/test.fa", package = "seqminer"),
geneFile = system.file("tabanno/test.gene.txt", package = "seqminer"),
inputFormat = "plain")
param <- makeAnnotationParameter(param)
inFile <- system.file("tabanno/input.test.plain.txt", package = "seqminer")
outFile <- file.path(tempdir(), "out.annotated.txt")
annotatePlain(inFile, outFile, param)
cat('Outputted annotation results are in the temp directory:', outFile, '\n')
[Package seqminer version 9.4 Index]