View source: R/report_dataRes.R
report_dataRes | R Documentation |
This function takes in an object of class 'dataRes' and returns a data frame displaying a combination of metrics. The six summarizing metrics include, mean, standard deviation, median, percent observed, minimum, and maximum.
report_dataRes(dataRes, minmax = FALSE, digits = 2)
dataRes |
an object of the class 'dataRes', created by
|
minmax |
logical specifying whether or not to include minimum and maximum data in the returned data frame. Defaults to FALSE. |
digits |
integer indicating the number of decimal places to round |
When creating the 'dataRes' object via edata_summary
,
if the 'by' argument is set to 'sample', then the 'groupvar' argument must
be NULL
prints a data frame
library(pmartRdata)
mylipid <- edata_transform(omicsData = lipid_neg_object, data_scale = "log2")
dataRes_sample <- edata_summary(omicsData = mylipid, groupvar = NULL, by = "sample")
my_output <- report_dataRes(dataRes_sample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.