|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.identification.ptm.PtmSiteMapping
public class PtmSiteMapping
This class contains convenience methods to map ptms on potential sites.
Constructor Summary | |
---|---|
PtmSiteMapping()
|
Method Summary | |
---|---|
static HashMap<Integer,Integer> |
align(Collection<Integer> serie1,
Collection<Integer> serie2)
Aligns two series of integer, minimizing the distance between them and excluding outliers. |
static HashMap<Integer,Integer> |
alignAll(Collection<Integer> serie1,
Collection<Integer> serie2)
Aligns two series of integer, minimizing the distance between them. |
static HashMap<Integer,Integer> |
alignAll(HashMap<Integer,ArrayList<Integer>> input)
Aligns a serie of integer on possible targets maximizing the number of matched targets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PtmSiteMapping()
Method Detail |
---|
public static HashMap<Integer,Integer> align(Collection<Integer> serie1, Collection<Integer> serie2)
serie1
- first list of integerserie2
- second list of integer
public static HashMap<Integer,Integer> alignAll(Collection<Integer> serie1, Collection<Integer> serie2)
serie1
- first list of integerserie2
- second list of integer
public static HashMap<Integer,Integer> alignAll(HashMap<Integer,ArrayList<Integer>> input)
input
- the input map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |