CB2 (version 1.1)

measure_gene_stats: A function to perform gene-level test using a sgRNA-level statistics.

Description

A function to perform gene-level test using a sgRNA-level statistics.

Usage

measure_gene_stats(sgrna_stat)

Arguments

sgrna_stat

A data frame created by `run_estimation`

Value

A table contains the gene-level test result, and the table contains these columns:

  • `gene`: Theg gene name to be tested.

  • `n_sgrna`: The number of sgRNA targets the gene in the library.

  • `cpm_a`: The mean of CPM of sgRNAs within the first group.

  • `cpm_b`: The mean of CPM of sgRNAs within the second group.

  • `logFC`: The log fold change of the gene between two groups.

  • `p_ts`: The p-value indicates a difference between the two groups at the gene-level.

  • `p_pa`: The p-value indicates enrichment of the first group at the gene-level.

  • `p_pb`: The p-value indicates enrichment of the second group at the gene-level.

  • `fdr_ts`: The adjusted P-value of `p_ts`.

  • `fdr_pa`: The adjusted P-value of `p_pa`.

  • `fdr_pb`: The adjusted P-value of `p_pb`.

Examples

Run this code
# NOT RUN {
data(Evers_CRISPRn_RT112)
measure_gene_stats(Evers_CRISPRn_RT112$sg_stat)

# }

Run the code above in your browser using DataLab