Skip to content

Feature/remove chondro - #244

Merged
cbeleites merged 23 commits into
cbeleites:developfrom
GegznaV:feature/remove-chondro
Aug 4, 2020
Merged

cbeleites merged 23 commits into
cbeleites:developfrom
GegznaV:feature/remove-chondro

Conversation

@GegznaV

@GegznaV GegznaV commented Aug 3, 2020 •

Copy link
Copy Markdown
Collaborator

Remove files related to chondro dataset, as it is moved to package hySpc.chondro.

Note: two spectra of chondro are left as external data as it is required for the vignette baseline.Rmd (I called it chondro_mini)

GegznaV added 22 commits August 3, 2020 21:19
`FIXME` tag added. Remove when #223 is solved.
Replace chondro → faux_cell
Remove part related to ggplot2 (as it was moved to separate package)
Needed for `baseline.Rmd`

# Code to create the dataset:
chondro_mini <- spc.bin(hySpc.chondro::chondro[c(1, 101)], 2)
saveRDS(chondro_mini, file = "hyperSpec/hyperSpec/inst/extdata/chondro_mini.rds")
chondro_mini contains 2 rows (1 and 101) from chondro dataset.
@GegznaV
GegznaV marked this pull request as ready for review August 3, 2020 23:14
Comment thread hyperSpec/vignettes/plotting.Rmd Resolved
chondro.preproc <- chondro.preproc / rowMeans(chondro)
chondro.preproc <- chondro.preproc - quantile(chondro.preproc, 0.05)
faux_cell_preproc <- faux_cell - spc.fit.poly.below(faux_cell)
faux_cell_preproc <- faux_cell_preproc / rowMeans(faux_cell)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pre-processing step may not be needed with faux_cell

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Baseline correction is a necessary step.
The others (e.g., quantile correction) are not. Please, look at figures 11, 12, 13 in the current version of hyperSpec.ggplot2 vignette. They illustrate the value of several pre-processing steps.

@GegznaV GegznaV Aug 4, 2020 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I fix this section? I.e., should I reduce the number of pre-processing steps?

@cbeleites
cbeleites merged commit bdb4b5f into cbeleites:develop Aug 4, 2020
@GegznaV
GegznaV deleted the feature/remove-chondro branch August 4, 2020 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants