Skip to contents

Grab asv table from a .qza file and format to tibble.

Usage

asv_data_qiime(qza)

Arguments

qza

Path to .qza file containing otu counts.

Value

A tibble.

Examples

fpath <- system.file("extdata/qiime", "table-dada2.qza", package = "bubbler")
asv_data_qiime(fpath)
#> # A tibble: 34 × 771
#>    sample_id `33e2cadd9d0b2b4ebeb6261766032e4a` 5656d8b980bfee07e29e8fc1198509…¹
#>    <chr>                                  <dbl>                            <dbl>
#>  1 L1S105                                     0                                0
#>  2 L1S140                                     0                                0
#>  3 L1S208                                     0                                0
#>  4 L1S257                                     0                                0
#>  5 L1S281                                     0                                0
#>  6 L1S57                                      0                                0
#>  7 L1S76                                      0                                0
#>  8 L1S8                                       0                                0
#>  9 L2S155                                     0                                2
#> 10 L2S175                                     0                                0
#> # ℹ 24 more rows
#> # ℹ abbreviated name: ¹​`5656d8b980bfee07e29e8fc119850901`
#> # ℹ 768 more variables: `7d893311a14a858907d4c8ca21d32dc4` <dbl>,
#> #   ecf9eb9fa3970ff27a221e626395c75d <dbl>,
#> #   acfe4c003905a7074aeaf385b78ad9e0 <dbl>,
#> #   `80b20e907aa4fcf2309796bc303d151d` <dbl>,
#> #   a1b971c01ce0b220275c218adbe717c1 <dbl>, …