Plot the mean composition of each signature expressed as a combination of endmembers, grouped by clusters. The result is a set of bar plots.
plot_endmember_density_bar(signatures)
signatures | A spectral object built using the load_signature_files function. The spectral object needs to be clustered (using clustering_kmeans or clustering_endmembers) and unmixed (using unmixing_fixed or unmixing_vca). |
---|
A ggplot2 object.
data(signatures) unmixed_signatures <- unmixing_fixed(signatures, files=c("almagre.asd.txt", "blanco.asd.txt"))#> Error in unmixing_fixed(signatures, files = c("almagre.asd.txt", "blanco.asd.txt")): unused argument (files = c("almagre.asd.txt", "blanco.asd.txt"))#> Error in is(x, "spectral"): object 'unmixed_signatures' not foundplot_endmember_density_bar(clustered_signatures)#> Error in is(x, "spectral"): object 'clustered_signatures' not found