Get_distribution_diff: Calcualting topic distribution difference between case and...

Description Usage Arguments Value Author(s)

View source: R/MASCOT.R

Description

With the result of topic model, we MASCOT can calcualte topic distribution difference between case and control.

Usage

1
Get_distribution_diff(model, sample_info_gene, KO_efficiency, index = -4.35e-05)

Arguments

model

Object of class "LDA" with the optimal topic number.

sample_info_gene

A character vector showing the knockout gene of each sample after all the filterings.

index

A constant fitted by simulation in our analysis. The result is -4.35e-05.

KO_efficiency

A numeric vector showing the overall knockout efficiency of each knockout obtained from "Cell_filtering()".

Value

A dataframe showing some information, including ratio difference, background difference and so on for each knockout.

Author(s)

Bin Duan


BinDuan/MASCOT documentation built on May 23, 2019, 2:42 p.m.