Description Usage Arguments Details Value Examples
tidybulk() creates a 'tt' object from a 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |
1 2 3 4 5 6 7 8 9 10 11 12 13 | tidybulk(.data, .sample, .transcript, .abundance, .abundance_scaled = NULL)
## S4 method for signature 'spec_tbl_df'
tidybulk(.data, .sample, .transcript, .abundance, .abundance_scaled = NULL)
## S4 method for signature 'tbl_df'
tidybulk(.data, .sample, .transcript, .abundance, .abundance_scaled = NULL)
## S4 method for signature 'SummarizedExperiment'
tidybulk(.data, .sample, .transcript, .abundance, .abundance_scaled = NULL)
## S4 method for signature 'RangedSummarizedExperiment'
tidybulk(.data, .sample, .transcript, .abundance, .abundance_scaled = NULL)
|
.data |
A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> | |
.sample |
The name of the sample column |
.transcript |
The name of the transcript/gene column |
.abundance |
The name of the transcript/gene abundance column |
.abundance_scaled |
The name of the transcript/gene scaled abundance column |
maturing
This function creates a tidybulk object and is useful if you want to avoid to specify .sample, .transcript and .abundance arguments all the times. The tidybulk object have an attribute called internals where these three arguments are stored as metadata. They can be extracted as attr(<object>, "internals").
A 'tidybulk' object
A 'tidybulk' object
A 'tidybulk' object
A 'tidybulk' object
A 'tidybulk' object
1 | my_tt = tidybulk(tidybulk::counts_mini, sample, transcript, count)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.