Bases: TASSELpy.java.util.FilterList.FilterList
Methods
| add(*args) | Ensures that this collection contains the specified element. |
| addAll(*args) | Adds all of the elements in the specified collection to this collection. |
| castTo(pyType) | Casts this object to another java/python type |
| clear(*args) | Removes all of the elements from this collection. |
| clone(*args) | Creates and returns a copy of this object |
| contains(*args) | Returns true if this collection contains the specified element. |
| containsAll(*args) | Returns true if this collection contains all of the elements in the specified collection |
| equals(*args) | Indicates whether some other object is “equal to” this one |
| filterEnumerator(filterFunc) | Enumerates the list, returning index and items for which a function |
| filterIterator(filterFunc) | Iterates through the list, but only returns items for which a function evaluates True. |
| get(*args) | Returns the element at the specified position in this list |
| getArray(size) | Gets an empty wrapped java array that can accept the type of the wrapped |
| getClass(*args) | Returns the runtime class of this Object. |
| getDblArray(rows[, cols]) | Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e. |
| hashCode(*args) | Returns a hash code vlaue for the object |
| indexOf(*args) | Return matching taxa index for given name |
| isEmpty(*args) | Returns true if this collection contains no elements |
| iterator(*args) | Returns an iterator over a set of elements of type T |
| lastIndexOf(*args) | Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| listIterator(*args) | Returns a list iterator over the elements in this list |
| numberOfTaxa(*args) | Returns number of taxa |
| remove(*args) | Removes a single instance of the specified element from this collection, if it is present. |
| removeAll(*args) | Removes all of this collection’s elements that are also contained in the specified collection. |
| retainAll(*args) | Retains only the elements in this collection that are contained in the specified collection. |
| set(*args) | Replaces the element at the specified position in this list with |
| size(*args) | Returns the number of elements in this collection. |
| subList(*args) | REturns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. |
| taxaName(*args) | Return taxa name at given index |
| toArray(*args) | Returns an array containing all of the elements in this collection. |
| toString(*args) | Returns a string representation of the object |
| wrap_existing_array(arr_instance) | Wraps a java array of this class’s type |
Return matching taxa index for given name
| Signature: | indexOf (String name) |
|---|---|
| Signature: | indexOf (Taxon taxon) |
| Parameters: |
|
| Returns: | Index for matching taxon (-1 if no match) |
| Return type: | int |
Bases: TASSELpy.javaObj.javaObj
A builder for creating immutable TaxaList instances
Example:
tlb = TaxaListBuilder() for i in xrange(10):
at = Taxon.Builder(“Z”+i+”:Line:mays:Zea”).inbreedF(0.99) .parents(“B73”,”B97”) .pedigree(“(B73xB97)S6I1”) .build() tlb.add(at)
tl = tlb.build()
Methods
| add(*args) | Adds a taxon to the builder |
| addAll(*args) | Adds multiple taxa to the builder |
| build(*args) | Builds the TaxaList |
| getArray(size) | Gets an empty wrapped java array that can accept the type of the wrapped |
| getDblArray(rows[, cols]) | Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e. |
| wrap_existing_array(arr_instance) | Wraps a java array of this class’s type |
Adds a taxon to the builder
| Signature: | add (Taxon taxon) |
|---|---|
| Parameters: | taxon (Taxon) – taxon |
| Returns: | TaxaListBuilder with taxon added |
| Return type: | TaxaListBuilder |
Bases: TASSELpy.java.lang.Comparable.Comparable, TASSELpy.net.maizegenetics.util.GeneralAnnotation.GeneralAnnotation
Methods
| castTo(pyType) | Casts this object to another java/python type | ||
| clone(*args) | Creates and returns a copy of this object | ||
| compareTo(*args) | Compares this object with the specified object for order. | ||
| equals(*args) | Indicates whether some other object is “equal to” this one | ||
| getAllAnnotationEntries(*args) | Returns all annotation Map.Entries | ||
| getAnnotation(*args) | Returns all annotation value for a given annotation key | ||
| getAnnotationAsMap(*args) | Returns all annotations in TreeMap | ||
| getArray(size) | Gets an empty wrapped java array that can accept the type of the wrapped | ||
| getAverageAnnotation(*args) | Returns average annotation for a given annotation key | ||
| getClass(*args) | Returns the runtime class of this Object. | ||
| getConsensusAnnotation(*args) | Returns consensus value for given annotation key | ||
| getDblArray(rows[, cols]) | Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e. | ||
| getName(*args) |
|
||
| getQuantAnnotation(*args) | Returns all annotation value for given annotation key | ||
| getTextAnnotation(*args) | Returns all annotation values for a given annotation key | ||
| hashCode(*args) | Returns a hash code vlaue for the object | ||
| toString(*args) | Returns a string representation of the object | ||
| toStringWithVCFAnnotation(*args) |
|
||
| wrap_existing_array(arr_instance) | Wraps a java array of this class’s type |