compute_gene_score: Compute gene score Computes gene scores for each gene within...

Description Usage Arguments Value

View source: R/mdp.R

Description

Compute gene score Computes gene scores for each gene within each class and perturbation freq

Usage

1
2
compute_gene_score(zscore, pdata, control_lab,
  score_type = c("gene_score", "gene_freq"))

Arguments

zscore

zscore data frame

pdata

phenotypic data with Class and Sample columns

control_lab

character specifying control class

score_type

set to 'gene_score' or 'gene_freq' to compute gene scores or frequencies

Value

data frame of gene scores or gene frequencies


melissalever/mdp documentation built on Aug. 8, 2021, 10:45 p.m.