sage.utilities: Utilities

Description Usage Arguments Details Author(s) Examples

Description

Different utilities to use with SAGE data.

Usage

1
2
3
4
5

Arguments

tags

integer or character vector giving SAGE tags.

length

Length of SAGE tags.

seq

Character vector or list of sequences.

...

SAGE library objects.

Details

These functions are utility functions used in SAGE tag extraction, e.g. to convert SAGE tag sequences to numeric values, i.e. base 4 for efficient storage and handling, and to reverse complement sequences.

Author(s)

Tim Beissbarth

Examples

1
2
3
4
5
6
library(sagenhaft)
tags <- c("aaa", "ttt", "ccc")
tagsnumeric <- tagsequence2tagnum(tags, 3)
tagsmatrix <- tagnum2tagmatrix(tagsnumeric, 3)
tags <- tagnum2tagsequence(tagmatrix2tagnum(tagsmatrix, 3), 3)
revcomp(tags)

sagenhaft documentation built on Nov. 8, 2020, 4:57 p.m.