
Create a strollur object from the exported table of a strollur object object.
Source:R/import_dataset.R
import_dataset.RdThe import_dataset function will create a strollur object from the exported table of a strollur object object.
Arguments
- table
a table containing the data from a strollur object. You can create the table using
strollur::export_dataset(data).
Examples
miseq <- strollur::miseq_sop_example()
#> Added 2425 sequences.
#> Assigned 2425 sequence abundances.
#> Assigned 2425 sequence taxonomies.
#> Assigned 531 otu bins.
#> Assigned 2425 asv bins.
#> Assigned 63 phylotype bins.
#> Assigned 19 samples to treatments.
#> Assigned 171 samples distances.
#> Assigned 531 otu bin taxonomies.
#> Assigned 531 otu bin representative sequences.
#> Added a metadata report.
#> Added 2 resource references.
#> Added a contigs_report report.
data <- strollur::import_dataset(strollur::export_dataset(miseq))
#> Added 2425 sequences.
#> Assigned 2425 sequence taxonomies.
#> Assigned 2425 sequence abundances.
#> Assigned 531 otu bins.
#> Assigned 531 otu bin representative sequences.
#> Assigned 531 otu bin taxonomies.
#> Assigned 2425 asv bins.
#> Assigned 2425 asv bin taxonomies.
#> Assigned 63 phylotype bins.
#> Assigned 63 phylotype bin taxonomies.
#> Assigned 171 samples distances.
#> Added 2 resource references.
#> Added a contigs_report report.
#> Added a metadata report.
data
#> miseq_sop:
#>
#> starts ends nbases ambigs polymers numns numseqs
#> Minimum: 1 375 249 0 3 0 1.00
#> 2.5%-tile: 1 375 252 0 4 0 2850.05
#> 25%-tile: 1 375 252 0 4 0 28491.50
#> Median: 1 375 253 0 4 0 56982.00
#> 75%-tile: 1 375 253 0 5 0 85472.50
#> 97.5%-tile: 1 375 254 0 6 0 111113.95
#> Maximum: 1 375 256 0 6 0 113963.00
#> Mean: 1 375 252 0 4 0 56982.00
#>
#> Number of unique seqs: 2425
#> Total number of seqs: 113963
#>
#> Total number of samples: 19
#> Total number of treatments: 2
#> Total number of otus: 531
#> Total number of otu bin classifications: 531
#> Total number of asvs: 2425
#> Total number of asv bin classifications: 2425
#> Total number of phylotypes: 63
#> Total number of phylotype bin classifications: 63
#> Total number of sequence classifications: 2425
#> Total number of resource references: 2
#> Total number of custom reports: 2
#>