egr95 / R-codacore

An R package for learning log-ratio biomarkers from high-throughput sequencing data.
Other
21 stars 3 forks source link

Add sample data x and y for tutorial #1

Closed tpq closed 3 years ago

tpq commented 3 years ago

Maybe we can bundle an example CoDa toy data set into the package so newcomers can quickly see it working by loading something like...

data(coda_example)
x <- coda_example$x
y <- coda_example$y
codacore(x, y)

FYI bundling data should be straightforward with the usethis package https://usethis.r-lib.org/reference/use_data.html

egr95 commented 3 years ago

Thanks for the suggestion - do you mean we should add this to the README, or bundle into codacore so that the guide no longer depends on the selbal package? Or both :)

tpq commented 3 years ago

Ah right! Yes, originally thinking add it to the README, but perhaps could replace in the guide too. It's low priority, but do think one less dependency for the end-users to install is a good thing!

egr95 commented 3 years ago

Agreed!