discretize: Discretize ChIP-Seq counts to simulate a binary dataset

discretizeR Documentation

Discretize ChIP-Seq counts to simulate a binary dataset

Description

Discretize ChIP-Seq counts to simulate a binary dataset

Usage

discretize(df, omic)

Arguments

df

A MOSimulated object

omic

Character string of the omic to transform into binary data

Value

A regulator dataframe of 0 and 1

Examples

omic_list <- c("RNA-seq", "ChIP-seq")
rnaseq_simulation <- mosim(omics = omic_list, omicsOptions = c(omicSim("ChIP-seq", totalFeatures = 2500)))
rnaseq_simulated <- omicResults(rnaseq_simulation, omic_list)
discrete_ChIP <- discretize(rnaseq_simulated, "ChIP-seq")


Neurergus/MOSim documentation built on Feb. 23, 2024, 8:29 a.m.