createFrequencyMat {PhosR} | R Documentation |
Create frequency matrix
createFrequencyMat(substrates.seq)
substrates.seq |
A substrate sequence |
A frequency matrix of amino acid from substrates.seq.
data("phospho_L6_ratio_pe") # We will create a frequency matrix of Tfg S198 phosphosite. idx = which(grepl("TFG\\;S198\\;", rownames(phospho.L6.ratio.pe))) substrate.seq = Sequence(phospho.L6.ratio.pe)[idx] freq.mat = createFrequencyMat(substrate.seq)