View source: R/helperFunctions.R
getTidyData | R Documentation |
TapestriExperiment
objectsgetTidyData()
pulls data from the indicated assay
and/or altExp
slot(s), and rearranges it into tidy format.
colData
(cell metadata) from the top-level/main experiment is included.
rowData
(probe metadata) from the indicated assay
and/or altExp
slot(s) is included.
Attempts are made to sort by "chr" and "start.pos" columns if they are present to simplify plotting and other downstream operations.
getTidyData(
TapestriExperiment,
alt.exp = NULL,
assay = NULL,
feature.id.as.factor = TRUE
)
TapestriExperiment |
|
alt.exp |
Character, |
assay |
Character, |
feature.id.as.factor |
Logical, if |
A tibble
of tidy data with corresponding metadata from colData
and rowData
.
tap.object <- newTapestriExperimentExample() # example TapestriExperiment object
tidy.data <- getTidyData(tap.object, alt.exp = "alleleFrequency")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.