Description Usage Arguments Details Value Author(s) Examples
makeTSE
creates a toy TreeSummarizedExperiment object.
1 |
nrow |
a numeric value to specify the number of rows of
|
ncol |
a numeric value to specify the number of columns of
|
include.rowTree |
TRUE or FALSE. Default is TRUE, so the output
|
include.colTree |
TRUE or FALSE. Default is TRUE, so the output
|
The assays
contains a matrix with values from
1:(nrow*ncol)
. The rowData
has two columns, var1
and
var2
. var1
is created with rep_len(letters, nrow)
.
var2
is created with rep_len(c(TRUE, FALSE), nrow)
. The
colData
has two columns, ID
and group
. ID
is
created with seq_len(ncol)
. group
is created with
rep_len(LETTERS[1:2], ncol)
. The row/col tree is generated with
ape::rtree()
. So, to generate reproducible trees, set.seed()
is required.
A TreeSummarizedExperiment object
Ruizhu Huang
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.