git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d94db33
)
JAL-98 javadoc added
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 25 Oct 2016 15:21:48 +0000
(16:21 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 25 Oct 2016 15:21:48 +0000
(16:21 +0100)
src/jalview/analysis/Profile.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/Profile.java
b/src/jalview/analysis/Profile.java
index
b27da9f
..
d94d031
100644
(file)
--- a/
src/jalview/analysis/Profile.java
+++ b/
src/jalview/analysis/Profile.java
@@
-93,26
+93,53
@@
public class Profile
return pid;
}
return pid;
}
+ /**
+ * Returns the full symbol counts for this profile
+ *
+ * @return
+ */
public ResidueCount getCounts()
{
return counts;
}
public ResidueCount getCounts()
{
return counts;
}
+ /**
+ * Returns the number of sequences in the profile
+ *
+ * @return
+ */
public int getHeight()
{
return height;
}
public int getHeight()
{
return height;
}
+ /**
+ * Returns the number of sequences in the profile which had a gap character
+ * (or were too short to be included in this column's profile)
+ *
+ * @return
+ */
public int getGapped()
{
return gapped;
}
public int getGapped()
{
return gapped;
}
+ /**
+ * Returns the highest count for any symbol(s) in the profile
+ *
+ * @return
+ */
public int getMaxCount()
{
return maxCount;
}
public int getMaxCount()
{
return maxCount;
}
+ /**
+ * Returns the symbol (or concatenated symbols) which have the highest count
+ * in the profile, or an empty string if there were no symbols counted
+ *
+ * @return
+ */
public String getModalResidue()
{
return modalResidue;
public String getModalResidue()
{
return modalResidue;