Package 'fomo'

Title: This package allows deploying a set of pre-defined foundation models for various tasks in R
Description: More about what it does (maybe more than one line).
Authors: Artur Manukyan [cre, aut] (ORCID: <https://orcid.org/0000-0002-0441-9517>), Dario Righelli [aut] (ORCID: <https://orcid.org/0000-0003-1504-3583>), Juan Henao [aut] (ORCID: <https://orcid.org/0000-0003-0783-1432>), Ilaria Billato [aut] (ORCID: <https://orcid.org/0000-0002-3335-3254>), Gabriele Sales [aut] (ORCID: <https://orcid.org/0000-0003-2078-5661>), Sviatoslav Kharuk [aut] (ORCID: <https://orcid.org/0009-0006-9901-6185>), Elizabeth Purdom [aut] (ORCID: <https://orcid.org/0000-0001-9455-7990>), Wolfgang Huber [aut] (ORCID: <https://orcid.org/0000-0002-0474-2218>)
Maintainer: Artur Manukyan <[email protected]>
License: What license is it under?
Version: 0.1.0
Built: 2026-12-03 19:03:32 UTC
Source: https://github.com/BiocFM/fomo

Help Index


This package allows deploying a set of pre-defined foundation models for various tasks in R

Description

More about what it does (maybe more than one line).

Author(s)

Artur Manukyan [cre, aut] (ORCID: <https://orcid.org/0000-0002-0441-9517>), Dario Righelli [aut] (ORCID: <https://orcid.org/0000-0003-1504-3583>), Juan Henao [aut] (ORCID: <https://orcid.org/0000-0003-0783-1432>), Ilaria Billato [aut] (ORCID: <https://orcid.org/0000-0002-3335-3254>), Gabriele Sales [aut] (ORCID: <https://orcid.org/0000-0003-2078-5661>), Sviatoslav Kharuk [aut] (ORCID: <https://orcid.org/0009-0006-9901-6185>), Elizabeth Purdom [aut] (ORCID: <https://orcid.org/0000-0001-9455-7990>), Wolfgang Huber [aut] (ORCID: <https://orcid.org/0000-0002-0474-2218>)

Maintainer: Artur Manukyan <[email protected]>


Run_nicheformer

Description

This functions runs NicheFormer.

Usage

Run_nicheformer(
  adata_path = NULL,
  technology = c("cosmx", "visium", "xenium", "merfish", "iss", "dissociated"),
  device = "cpu"
)

Arguments

adata_path

Path to the input anndata file.

technology

Technology used for the spatial transcriptomics data. One of "cosmx", "visium", "xenium", "merfish", "iss", or "dissociated".

device

torch device ("cpu", "cuda", "mps" etc.)


Run_nimbus

Description

This functions runs Nimbus.

Usage

Run_nimbus()

Run_novae

Description

This function runs novae.

Usage

Run_novae(adata_path = NULL, accelerator = "cpu")

Arguments

adata_path

Path to the input anndata file.

accelerator

Accelerator to use, either "cpu" or "cuda". Default is "cpu".


scGPT

Description

This function runs scGPT.

Usage

Run_scGPT(h5ad_file, model_dir, gene_col, batch_size = 64L)

Arguments

h5ad_file

file that points to the location of a h5ad file with the count data

model_dir

directory with the model. This should be a directory that the scGPT model, consisting of a '.pt' file with the model, as well as the 'vocab.json' and 'args.json' file.

gene_col

The gene column name

batch_size

The batch size passed to 'scg.tasks.embed_data' (default 64)

Details

This function runs the 'scg.tasks.embed_data' function