Skip to main content

Your first note

Sign in, ask a question in a note and read the R code, output and figures that come back.

A note is where you ask OmicsBase a question about your data. An AI agent writes R code, runs it and shows the results in the note.

This page takes you from signing in to your first result.

Ask your first question

  1. Go to omicsbase.utu.fi. You see the start page. It says Where should we start? above a box with the words Ask me anything.

    The signed-out start page with 'Where should we start?', the 'Ask me anything' box, and Log in at the top right.

  2. Click in the box and type your question in plain words. For example: Load GlobalPatterns from mia and give me an overview of what it contains.

  3. Press Enter, or click the arrow button (Send). The sign-in page opens. Your question waits for you while you sign in.

  4. Sign in (see Sign in below). A new note opens with your question already typed in the message box at the bottom.

  5. Press Enter, or click the arrow button (Send message). The agent starts working. You see its reply grow in the note, step by step.

    A note where the agent's reply is coming in, with one R cell showing 'Running'.

Read What you get back to understand the reply.

Sign in

You can sign in with a university or research institute account, or with a Google account.

  1. On the start page, click Log in at the top right. A page opens with the sign-in choices.

  2. Click the button that matches your account:

    • University sign-in (Haka) for the University of Turku and the other Finnish universities, universities of applied sciences and research institutes in the Haka federation. A Haka page opens. Under Select the organisation you are affiliated with, pick yours, for example University of Turku, and click SELECT.
    • Institution outside Finland (eduGAIN) for universities and institutes in other countries. A page titled Find Your Institution opens. Type the name of your organisation and pick it.
    • Continue with Google for a Google account.

    The sign-in page with the buttons 'Continue with Google', 'University sign-in (Haka)' and 'Institution outside Finland (eduGAIN)'.

  3. Sign in on your organisation’s page, or Google’s, as you normally do. OmicsBase opens a new, empty note.

Sign up for free on the start page leads to the same sign-in choices.

Your account belongs to the organisation and the sign-in you first used, so sign in the same way each time. If an email address already has an account made with another sign-in, OmicsBase says Authentication failed. Please check your login method and try again.

Which models you get depends on how you signed in; see Models for your sign-in.

What is on the start page

The start page is what you see before you sign in. It has:

  • Ask me anything: the box where you type a question.

  • A button at the top left that shows the model’s name. Click it to pick a different one; see Pick a model.

  • Examples: recorded notes on published data. Click a card’s Explore button to read the whole note. Cards with Read report show a Report.

  • Datasets: data you can load in a new note. Built in lists datasets that are already installed. Open studies lists public microbiome studies from MGnify and Zenodo.

  • Search examples and datasets: a search box for both lists.

    The Examples section of the start page with field filters and example cards.

Click a dataset card and its first question is typed into the box for you. Then send it as in Ask your first question.

After you sign in, the same lists are under Examples and Datasets in the sidebar on the left.

Start a new note

  1. Click New note in the sidebar on the left. An empty note opens. Under the message box you see Suggestions: three example notes and one dataset.

    An empty note with the message box, the model button at the top and the Suggestions cards below.

  2. Check the model’s name on the button at the top of the note. To change it, see Pick a model.

  3. Type your question in the message box and press Enter. The agent starts working.

Your notes are listed under Note History in the sidebar. Click one to open it again.

Pick a model

  1. Click the button at the top of the note that shows the model’s name (its tooltip says Select a model). A list of models opens, each with a short description.

  2. Click the model you want. The button now shows that model’s name. Your next message uses it.

    The open model list with descriptions.

Choose a model explains what the labels mean, which models your sign-in gives you and how to use your own key.

What you get back

The agent works in small steps. In each reply it usually:

  1. Looks up how to do the task in the Bioconductor books and in the R help pages. You may see these look-ups listed in the reply.
  2. Writes a few lines of R code in an R cell and runs it.
  3. Reads the result and tells you in plain words what it found.
  4. Stops and suggests the next step.

Each R cell shows:

  • The code that ran. Click the copy button (Copy R code) to copy it.
  • A status: Queued (waiting), Running, Completed, Failed, Timed out (it took too long) or Cancelled. While the cell runs, a status line and a timer say what is happening; see What a cell shows.
  • Execution Output: the text that R printed.
  • Table Preview: the first rows of a table, with its size, such as “(120 rows × 8 cols)”. The download button saves the table.
  • Plot #1, Plot #2 and so on: the figures. Click the download button (Download plot) to save one.
  • Files the cell saved, such as a table written with write.csv() or a figure saved with ggsave(), as download links under the cell. Click one to download the file.

A completed R cell with its code, the 'Completed' status, Execution Output and a plot.

Every number and figure comes from code that ran in the note. A cell stops at the first line that fails. If a step fails, the agent reads the error, fixes the code and tries once more; after a second failure it stops and explains.

Keep going

Type your next request in the message box, for example Now compare the groups or Make the plot bigger and colour by sample type.

Each note keeps its own R session, so the next step can use the tables and results made in earlier cells.

  • The agent stopped in the middle. In one reply the agent can take about 20 actions, look-ups included. Type continue and send it.
  • You come back later. OmicsBase saves the note’s R session when the note has been idle for a while, and loads it again when you next run something. The output then starts with a line saying the R session was restarted and how many saved objects were restored.

Change a cell and run it again

You can fix or change code that the agent wrote and run it yourself.

  1. In the R cell, click the pencil button (Edit code). The code opens in an editor.

  2. Change the code. The cell shows Unsaved.

  3. Click the save button (Save revision). Unsaved goes away.

  4. Click the green play button (Run code in NoteKernel). The status changes to Queued, then Running, then Completed or Failed. The new output replaces the old one.

    An R cell in edit mode with the editor open.

To see earlier runs of the same cell, click the clock button (Execution history) and pick a run from the list.

Note

A cell stops after 10 minutes of R time, whether you or the agent runs it; see The time limit.

Stop the agent

  • To stop the agent’s reply: while it works, the send button turns into a stop button (Stop generating). Click it.
  • To stop one R cell: while the cell is Queued or Running, click the square button on the cell (Cancel execution). The cell says Cancelling…, then Cancelled. R is restarted; see After a timeout or a cancel.

Next steps