pathway_to_cell_signature: Pathway to Cell Signature

View source: R/pipeline_pathways.R

pathway_to_cell_signatureR Documentation

Pathway to Cell Signature

Description

This function queries for pathways based on given values, fetches genes associated with those pathways, and filters for unique cell identifiers based on specified criteria. If pathway IDs are already known, they can be directly provided to skip the query step.

Usage

pathway_to_cell_signature(
  queryValues = NULL,
  pathway_ids = NULL,
  options = list(timeout = 10000)
)

Arguments

queryValues

A vector of query values to search for pathways. Optional if pathway_ids is provided.

pathway_ids

A vector of pathway IDs to be used directly. Optional if queryValues is provided.

options

A list of options for the API call, including endpoint and timeout settings.

Value

A data frame of unique effect sizes, filtered by a foldChange threshold and deduplicated by cell_id.

Examples

## Not run: 
pathway_to_cell_signature(
  queryValues = c("Adaptive Immune System"), 
  options = list(timeout = 10000)
)

## End(Not run)

genular documentation built on Oct. 19, 2024, 9:07 a.m.