congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ExperimentListItem.getExperimentLabels
Code IndexAdd Tabnine to your IDE (free)

How to use
getExperimentLabels
method
in
uk.ac.ebi.intact.application.dataConversion.ExperimentListItem

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.ExperimentListItem.getExperimentLabels (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.util/data-conversion

public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli)
{
  Integer firstInteraction = null;
  Integer maxInteractions = null;
  // if there is pagination, get the first and the max result
  if (eli.getLargeScaleChunkSize() != null)
  {
    firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize();
    maxInteractions = eli.getLargeScaleChunkSize();
  }
  Collection<String> experimentLabels = eli.getExperimentLabels();
  return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao()
      .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]),
          firstInteraction, maxInteractions);
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli)
{
  Integer firstInteraction = null;
  Integer maxInteractions = null;
  // if there is pagination, get the first and the max result
  if (eli.getLargeScaleChunkSize() != null)
  {
    firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize();
    maxInteractions = eli.getLargeScaleChunkSize();
  }
  Collection<String> experimentLabels = eli.getExperimentLabels();
  return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao()
      .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]),
          firstInteraction, maxInteractions);
}
origin: uk.ac.ebi.intact.app/data-conversion

public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli)
{
  Integer firstInteraction = null;
  Integer maxInteractions = null;
  // if there is pagination, get the first and the max result
  if (eli.getLargeScaleChunkSize() != null)
  {
    firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize();
    maxInteractions = eli.getLargeScaleChunkSize();
  }
  Collection<String> experimentLabels = eli.getExperimentLabels();
  return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao()
      .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]),
          firstInteraction, maxInteractions);
}
uk.ac.ebi.intact.application.dataConversionExperimentListItemgetExperimentLabels

Popular methods of ExperimentListItem

  • <init>
  • getChunkNumber
  • getFilename
  • getInteractionRange
  • getLargeScaleChunkSize
  • getPattern
  • removeTrailingSlash
  • twoDigitNumber

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JFrame (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now