HistoneModStr: Methods for recognizing histone modifications from strings

containsHistoneModStrR Documentation

Methods for recognizing histone modifications from strings

Description

Methods for recognizing histone modifications from strings

Usage

containsHistoneModStr(s)

getHistoneFromHistoneModStr(s)

getAaTypeFromHistoneModStr(s)

getAaPosFromHistoneModStr(s)

getModFromHistoneModStr(s)

normalizeHistoneModStr(s)

matchHistoneModStr(s1, s2)

Arguments

s

a string

s1

a string

s2

a string

containsHistoneModStr

Does a string contain the pattern for histone modifications?

getHistoneFromHistoneModStr

Retrive the histone from a string containing a histone modification pattern

getAaTypeFromHistoneModStr

Retrive the amino acid type from a string containing a histone modification pattern

getAaPosFromHistoneModStr

Retrive the amino acid position from a string containing a histone modification pattern

getModFromHistoneModStr

Retrive the modification from a string containing a histone modification pattern

normalizeHistoneModStr

normalize the histone modification if contained in a string

matchHistoneModStr

Do two strings contain the same histone modifications

Examples

s1 <- "H3K4me3"
s2 <- "h3k04ME3"
s3 <- "blubb5A27me3"
s4 <- "h3k27ac"
containsHistoneModStr(s1)
containsHistoneModStr(s3)
containsHistoneModStr(s4)
getHistoneFromHistoneModStr(s1)
getAaTypeFromHistoneModStr(s1)
getAaPosFromHistoneModStr(s1)
getModFromHistoneModStr(s1)
normalizeHistoneModStr(s1)
normalizeHistoneModStr(c(s1,s2,s3,s4))
matchHistoneModStr(s1,s2)
matchHistoneModStr(s1,s4)

demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.