Get the summary of the prediction results

# S3 method for tbl_deepredeff
summary(object, ...)

Arguments

object

Results of prediction from deepredeff::predict_effector().

...

Additional arguments ignored.

Examples

# \donttest{
# FASTA input
input_fasta <- system.file("extdata/example/fungi_sample.fasta", package = "deepredeff")

pred_result <- deepredeff::predict_effector(
  input = input_fasta,
  taxon = "fungi"
)
#> List of 22
#>  $ python              : chr "/usr/bin/python3"
#>  $ libpython           : chr "/usr/lib/python3.10/config-3.10-x86_64-linux-gnu/libpython3.10.so"
#>  $ pythonhome          : chr "//usr://usr"
#>  $ pythonpath          : chr "/home/runner/work/_temp/Library/reticulate/config:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.1"| __truncated__
#>  $ prefix              : chr "/usr"
#>  $ exec_prefix         : chr "/usr"
#>  $ base_exec_prefix    : chr "/usr"
#>  $ virtualenv          : chr ""
#>  $ virtualenv_activate : chr ""
#>  $ executable          : chr "/usr/bin/python3"
#>  $ base_executable     : chr "/usr/bin/python3"
#>  $ version_string      : chr "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]"
#>  $ version             : chr "3.10"
#>  $ architecture        : chr "64bit"
#>  $ anaconda            : logi FALSE
#>  $ conda               : chr "False"
#>  $ numpy               : NULL
#>  $ required_module     : chr "tensorflow"
#>  $ required_module_path: NULL
#>  $ available           : logi TRUE
#>  $ python_versions     : chr [1:2] "/usr/bin/python3" "/usr/bin/python"
#>  $ forced              : NULL
#>  - attr(*, "class")= chr "py_config"
#> Error: Python module tensorflow.keras was not found.
#> 
#> Detected Python configuration:
#> 
#> 

summary(pred_result)
#> Error in eval(expr, envir, enclos): object 'pred_result' not found
# }