sumexp_to_widedt | R Documentation |
SummarizedExperiment to data.table
sumexp_to_widedt(
object,
fvars = autonomics::fvars(object),
assay = assayNames(object)[1]
)
sumexp_to_longdt(
object,
fvars = intersect("feature_name", autonomics::fvars(object)),
svars = intersect("subgroup", autonomics::svars(object)),
assay = assayNames(object) %>% intersect(c(.[1], "is_imputed"))
)
sumexp_to_subrep_dt(object, subgroup = subgroup)
object |
sumexp |
fvars |
additional fvars to include in table |
assay |
matrix in assays(object) to be used |
svars |
additional svars to include in table |
subgroup |
subgroup (sym) |
sumexp_to_widedt
: feature x sample
sumexp_to_subrep_dt
: feature.subgroup x replicate
sumexp_to_longdt
: feature.sample
data.table
# Atkin Hypoglycemia
file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
sumexp_to_widedt(object)
sumexp_to_longdt(object)
sumexp_to_subrep_dt(object)
# Fukuda
file <- system.file('extdata/fukuda20.proteingroups.txt', package = 'autonomics')
object <- read_maxquant_proteingroups(file)
values(object)
fdt(object)
object %<>% impute()
table(fdt(object)$imputed)
sumexp_to_longdt(object)
sumexp_to_widedt(object)
sumexp_to_longdt(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.