Radar chart
plot_radarchart.Rd
Plot radar chart of summary statistics.
Arguments
- input_df
Data frame with summary information. Analysis column and at least one category column is required.
Examples
# Load libraries
library(plotly)
#> Warning: package 'plotly' was built under R version 4.2.2
#> Loading required package: ggplot2
#> Warning: package 'ggplot2' was built under R version 4.2.3
#>
#> Attaching package: 'plotly'
#> The following object is masked from 'package:ggplot2':
#>
#> last_plot
#> The following object is masked from 'package:stats':
#>
#> filter
#> The following object is masked from 'package:graphics':
#>
#> layout
library(tibble)
# Example data
data <- tibble::tibble(
Analysis = c("A", "B"),
"Median ProteinGroup.IDs [abs.]" = c(5, 10),
"Median Protein.IDs [abs.]" = c(5, 10),
"Median Peptide.IDs [abs.]" = c(5, 10),
"Median Precursor.IDs [abs.]" = c(5, 10),
"Full profile - Precursor.IDs [abs.]" = c(5, 10),
"Full profile - Peptide.IDs [abs.]" = c(5, 10),
"Full profile - Protein.IDs [abs.]" = c(5, 10),
"Full profile - ProteinGroup.IDs [abs.]" = c(5, 10),
"Full profile - Precursor.IDs [%]" = c(5, 10),
"Full profile - Peptide.IDs [%]" = c(5, 10),
"Full profile - Protein.IDs [%]" = c(5, 10),
"Full profile - ProteinGroup.IDs [%]" = c(5, 10),
"Precursor.IDs [abs.] with a CV Retention time < 5 [%]" = c(5, 10),
"Proteingroup.IDs [abs.] with a CV LFQ < 20 [%]" = c(NA, 10),
"Peptide.IDs [abs.] with a CV LFQ < 20 [%]" = c(NA, 10),
"Peptide IDs with zero missed cleavages [abs.]" = c(5, 10),
"Peptide IDs with zero missed cleavages [%]" = c(5, 10)
)
# Plot
plot_radarchart(
input_df = data
)