phredTable: phredTable: Returns a data.frame with phred encodings.

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

Description

The function calculates characters and corresponding ascii values for a given range of phred values. As default, a data.frame with all valid phred values {0,...,93} is returned.

Usage

1

Arguments

phred

numeric. Vector with phred values. All values must be in 0:93

Value

data.frame. The data.frame has three columns: "ascii","phred" and "char"

Author(s)

Wolfgang Kaisers

References

Ewing B, Green P Base-calling of automated sequencer traces using phred. II. Error probabilities. Genome Research 1998 Vol. 8 No. 3 186-194

See Also

char2ascii

Examples

1

Example output

Loading required package: zlibbioc
   ascii phred char
1     33     0    !
2     34     1    "
3     35     2    #
4     36     3    $
5     37     4    %
6     38     5    &
7     39     6    '
8     40     7    (
9     41     8    )
10    42     9    *
11    43    10    +
12    44    11    ,
13    45    12    -
14    46    13    .
15    47    14    /
16    48    15    0
17    49    16    1
18    50    17    2
19    51    18    3
20    52    19    4
21    53    20    5
22    54    21    6
23    55    22    7
24    56    23    8
25    57    24    9
26    58    25    :
27    59    26    ;
28    60    27    <
29    61    28    =
30    62    29    >
31    63    30    ?
32    64    31    @
33    65    32    A
34    66    33    B
35    67    34    C
36    68    35    D
37    69    36    E
38    70    37    F
39    71    38    G
40    72    39    H
41    73    40    I
42    74    41    J
43    75    42    K
44    76    43    L
45    77    44    M
46    78    45    N
47    79    46    O
48    80    47    P
49    81    48    Q
50    82    49    R
51    83    50    S
52    84    51    T
53    85    52    U
54    86    53    V
55    87    54    W
56    88    55    X
57    89    56    Y
58    90    57    Z
59    91    58    [
60    92    59   \\
61    93    60    ]
62    94    61    ^
63    95    62    _
64    96    63    `
65    97    64    a
66    98    65    b
67    99    66    c
68   100    67    d
69   101    68    e
70   102    69    f
71   103    70    g
72   104    71    h
73   105    72    i
74   106    73    j
75   107    74    k
76   108    75    l
77   109    76    m
78   110    77    n
79   111    78    o
80   112    79    p
81   113    80    q
82   114    81    r
83   115    82    s
84   116    83    t
85   117    84    u
86   118    85    v
87   119    86    w
88   120    87    x
89   121    88    y
90   122    89    z
91   123    90    {
92   124    91    |
93   125    92    }
94   126    93    ~

seqTools documentation built on May 2, 2019, 4:45 p.m.