MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / getMinMedMaxKmerCoverage

Method getMinMedMaxKmerCoverage

src/rnabloom/util/GraphUtils.java:219–227  ·  view source on GitHub ↗
(final ArrayList<Kmer> kmers)

Source from the content-addressed store, hash-verified

217 }
218
219 public static float[] getMinMedMaxKmerCoverage(final ArrayList<Kmer> kmers) {
220 int len = kmers.size();
221 float[] covs = new float[len];
222 for (int i=0; i<len; ++i) {
223 covs[i] = kmers.get(i).count;
224 }
225
226 return getMinMedMax(covs);
227 }
228
229 public static float getMedianKmerCoverage(final Collection<Kmer> kmers) {
230 int numKmers = kmers.size();

Callers 4

correctErrorHelper2Method · 0.95
correctInternalErrorsMethod · 0.95
correctErrorHelperMethod · 0.95
correctMismatchesMethod · 0.95

Calls 3

getMinMedMaxMethod · 0.80
getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected