plot_spectra: Plot Raw Spectra

plot,aquap_data,missing-methodR Documentation

Plot Raw Spectra

Description

Plot the raw spectra contained in the dataset or in the cube.

Usage

## S4 method for signature 'aquap_data,missing'
plot(x, colorBy = NULL, ...)

## S4 method for signature 'aquap_data'
plot_spectra(x, colorBy = NULL, ...)

## S4 method for signature 'aquap_cube'
plot_spectra(x, colorBy = NULL, ...)

Arguments

x

The standard dataset as produced by gfd, or a data-cube as produced by gdmm.

colorBy

Character vector, possible values are the class variables in the dataset. Provide a character vector with length > 1 to color along all these class variables; provide 'all' to use all available class variables for coloring - see examples.

...

Optional general plotting options as defined in plot_pg_args.

Details

If the provided object is of class aquap_cube and is containing more than one dataset, a single graphic with raw-spectra is produced for every dataset contained within the cube.

See Also

plot_all_modells

Other Plot functions: plot,aquap_cube,missing-method, plot_aqg(), plot_classifX_indepPred(), plot_da,aquap_cube-method, plot_nnet,aquap_cube-method, plot_pca,aquap_cube-method, plot_pls,aquap_cube-method, plot_pls_indepPred(), plot_rnf,aquap_cube-method, plot_simca,aquap_cube-method, plot_svm,aquap_cube-method

Other Plot arguments: plot_NNET_args, plot_SVM_args, plot_aqg_args, plot_discrimAnalysis_args, plot_pca_args, plot_pg_args, plot_pls_args, plot_randomForest_args, plot_sim_args

Other Core functions: exportSampleList(), gdmm(), getFullData(), plot,aquap_cube,missing-method

Examples

## Not run: 
plot_spectra(dataset)
plot_spectra(dataset, colorBy="all")
plot(dataset) # the same as above
plot(dataset, colorBy=c("C_Group"))
plot_spectra(dataset, "C_Group")
plot_spectra(dataset, c("C_Group", "C_Repl")) # produces two plots
plot(dataset, pg.where="") # for plotting to graphic device
plot_spectra(dataset, c("C_Group", "C_Repl"), pg.where="", pg.main="foo")
cube <- gdmm(gfd())
plot_spectra(cube)

## End(Not run)

bpollner/aquap2 documentation built on March 29, 2024, 7:33 a.m.