resultAllExtract | R Documentation |
Get the whole result of slot pre_result or result from S4-DNB_obj and transfer that into a data.frame (matrix)
resultAllExtract(object, group, slot, mess = TRUE, ...)
object |
the S3-DNB_output |
group |
which sub-group of S3-DNB_output to extract |
slot |
which S4-DNB_obj to extract, pre_result or result |
mess |
whether to message if slot is pre_result, default TRUE |
... |
for future use |
data.frame
Kaiyu Wang, in ChenLab of CAS, Shanghai, China
data(data.example)
data(meta.example)
a <- DNBcompute(data.example, meta.example)
b <- DNBfilter(a, ntop = 5)
df_score <- resultAllExtract(
object = b,
group = "A",
slot = "pre_result"
)
df_score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.