pttrnt: ptt and rnt

Description Usage Arguments Details Value Author(s) Examples

Description

Extract and write old ptt and rnt

Usage

1
2
3
4
5
6
7
ExtractPtt(featureTable)

ExtractRnt(featureTable)

write.ptt(ptt, file)

write.rnt(rnt, file)

Arguments

featureTable

A matrix represents the feature table retrieved from the NCBI ftp.

ptt

A matrix indicating the ptt matrix.

file

A character vector indicating the file path.

rnt

A matrix indicating the rnt matrix

Details

ExtractPtt(): Extract ptt from the featureTable.

ExtractRnt(): Extract rnt from the featureTable.

write.ptt(): Write the ptt file.

write.rnt(): Write the rnt file.

Value

ExtractPtt(): Extract ptt from the featureTable.

ExtractRnt(): Extract rnt from the featureTable.

Author(s)

Yulong Niu niuylscu@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
gzPath <- system.file('extdata', 'eco.feature_table.txt.gz', package = 'ProGenome')
ft <- read.gff(gzPath)

ptt <- ExtractPtt(ft)
rnt <- ExtractRnt(ft)

## Not run: 
write.ptt(ptt, 'eco.ptt')
write.rnt(rnt, 'eco.rnt')

## End(Not run)

YulongNiu/ProGenome documentation built on May 10, 2019, 1:13 a.m.