gather_information_level_data: Find ICI scores over a range of information levels

Description Usage Arguments Value

View source: R/compute_ici.R

Description

Find ICI scores over a range of information levels

Usage

1
2
3
gather_information_level_data(expression_data, spec_table,
  information_range = seq(0, 100, 0.5), min_spec_score = 0.15,
  n_samples = 100)

Arguments

expression_data

data frame with at least one column, "Locus", and additional columns containing expression values for each cell.

spec_table

a data.frame containing at least 4 columns:

  • Locus

  • Cell_Type

  • spec (the Specificity score calculated using compute_spec_table)

  • mean_expr (the mean expression level for that locus/cell type combination used to generated spec scores)

information_range

numeric vector, range of information scores to loop over

min_spec_score

minimum useful information score (default, 0.15)

n_samples

number of sub-samples to take (useful for limiting computational resources required; default 100)

Value

a data frame with ici scores for all sampled cells, all cell types, at all information levels in information_range.


b-coli/ICITools documentation built on Dec. 27, 2021, 7:40 a.m.