Wraps divent::profile_hill() to compute a Hill diversity profile across
diversity orders for each sample in a phyloseq object, and returns a
ggplot2 object via ggplot2::autoplot().
Usage
profile_hill_pq(physeq, orders = seq(0, 2, 0.1), merge_sample_by = NULL, ...)Arguments
- physeq
(required) a
phyloseq-classobject obtained using thephyloseqpackage.- orders
(numeric vector) Hill diversity orders to compute. Default
seq(0, 2, 0.1).- merge_sample_by
(character or NULL) If not NULL, merge samples using
merge_samples2()before computing profiles.- ...
Additional arguments passed to
divent::profile_hill().
Examples
# \donttest{
profile_hill_pq(data_fungi_mini)
#> Taxa are now in columns.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■ 23% | ETA: 8s
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
#> ! Sample coverage is 0, most estimators will return `NaN`.
#> Computing Hill profiles ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 89% | ETA: 1s
# }