discretize | R Documentation |
Discretize ChIP-Seq counts to simulate a binary dataset
discretize(df, omic)
df |
A MOSimulated object |
omic |
Character string of the omic to transform into binary data |
A regulator dataframe of 0 and 1
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.