TopDrug: Single Drug Selection for Individual Clusters.

View source: R/TopDrug.R

TopDrugR Documentation

Single Drug Selection for Individual Clusters.

Description

Select single drugs for every cell population by FDR and drug type, and summarize cell coverage for selected drugs.

Usage

TopDrug(
  SC.integrated = SC.data,
  Drug.data = Drug.ident.res,
  Drug.FDR = 0.1,
  FDA.drug.only = TRUE,
  Case = NULL
)

Arguments

SC.integrated

A Seurat object of aligned single cells.

Drug.data

Drug repurosing result from GetDrug function.

Drug.FDR

The FDR threshold to select drug. The default value is 0.1.

FDA.drug.only

logical; if TRUE, will only return FDA-approved drugs.

Case

An vector of case (diseased) samples.Only case sammples are involved in the calculation of coverage.

Details

Input raw drug repurosing result and return the top drugs with summary of cell coverage.

Value

A data frame of selected drugs with summary of cell coverage.


lanagarmire/Asgard documentation built on Jan. 25, 2024, 3:28 p.m.