Description Usage Arguments Examples
Exports the key synthetic lethal gene information in a LaTeX table. Can be done for all genes (output of detect_SL
) or with synthetic lethal conditions and significance thresholds met (output of table_of_SL
).
1 |
x |
Data matrix. Synthetic Lethal predictions to process, typically the output of |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #prepare data
data <- c()
for(i in 1:100){
data <- cbind(data, rnorm(1000))
}
rm(i)
rownames(data) <- paste("gene", 1:1000)
colnames(data) <- paste("sample", 1:100)
partitioned_data <- prep_data_for_SL(data, n = 3)
#run SLIPT
sl_table <- detect_SL("gene 1", partitioned_data)
dim(sl_table)
head(dim(sl_table))
sl_table <- detect_SL("gene 1", prep_data_for_SL(data))
dim(sl_table)
head(dim(sl_table))
#export top results to TeX
export_SL_latex(sl_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.