u2_convert: Convert Data Frame to Other Formats

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

These utility functions convert data of format divided by amino acids into list of format divided by ORFs, or convert data to other formats.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

Arguments

reu13.df

a list of reu13.df data frames divided by amino acids.

y

a list of y data frames divided by amino acids.

n

a list of n vectors divided by amino acids.

seq.data

a vector of seq.data format.

x

a codon or dna string, such "ACG", "acg", or "A", "a".

b

a b object.

bVec

a bVec object.

aa.names

a vector contains amino acid names for analysis.

model

model fitted.

Details

convert.reu13.df.to.list(), convert.y.to.list(), and convert.n.to.list(): these utility functions take the inputs divided by amino acids and return the outputs divided by ORFs.

convert.y.scuo() converts y into scuo format.

convert.seq.data.to.string() converts seq.data into seq.string format.

codon.low2up() and codon.up2low() convert codon strings between lower or upper cases.

convert.bVec.to.b() and convert.b.to.bVec() convert objects b and bVec.

Value

All functions return the corresponding formats.

Author(s)

Wei-Chen Chen wccsnow@gmail.com.

References

https://github.com/snoweye/cubfits/

See Also

AllDataFormats, rearrange.n(), rearrange.reu13.df(), rearrange.y(), and read.seq().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19

cubfits documentation built on Nov. 8, 2021, 1:07 a.m.