Plot the results of prediction
# S3 method for tbl_deepredeff
plot(x, ...)
tbl_deepredeff object
additional arguments ignored.
class distribution plot
# \donttest{
# FASTA input
input_fasta <- system.file("extdata/example/fungi_sample.fasta", package = "deepredeff")
pred_result <- deepredeff::predict_effector(
input = input_fasta,
taxon = "fungi"
)
#> Error: Valid installation of TensorFlow not found.
#>
#> Python environments searched for 'tensorflow' package:
#> /usr/bin/python3.10
#> /usr/bin/python3.10
#>
#> Python exception encountered:
#> Traceback (most recent call last):
#> File "/home/runner/work/_temp/Library/reticulate/python/rpytools/loader.py", line 119, in _find_and_load_hook
#> return _run_hook(name, _hook)
#> File "/home/runner/work/_temp/Library/reticulate/python/rpytools/loader.py", line 93, in _run_hook
#> module = hook()
#> File "/home/runner/work/_temp/Library/reticulate/python/rpytools/loader.py", line 117, in _hook
#> return _find_and_load(name, import_)
#> ModuleNotFoundError: No module named 'tensorflow'
#>
#>
#> You can install TensorFlow using the install_tensorflow() function.
plot(pred_result)
#> Error in eval(expr, envir, enclos): object 'pred_result' not found
# }