Learn R Programming

vanddraabe (version 1.1.1)

normBvalueBarplot.summ: Normalized B-value Summary Barplots

Description

B-value summary barplots for the PDB structures. The plots are faceted and displays the binned B-value values for all the structures. The counts are presented on a log10 scale.

Usage

normBvalueBarplot.summ(data)

Arguments

data

The results from the CleanProteinStructures() function. Will use the binned normalized B-value data.

See Also

Other plots: BoundWaterEnvPlots, BoundWaterEnvSummaryPlot, BvalueBarplot.summ, BvalueBarplot, ClusterSummaryPlots, MobNormBvalEvalPlots, MobilityBarplot.summ, MobilityBarplot, OccupancyBarplot.summ, OccupancyBarplot, nBvalueBarplot

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  normBvalueBarplot.summ(data)

  ##----- multiple pages
  library(ggforce)
  nBvalue.barplots.summary <- normBvalueBarplot.summ(data)
  num.pages <- ceiling(nrow(data$normBvalue.counts) / 10)

  pdf(file="multiple_pages.pdf", height=11, width=8.5)
  for (page in seq_len(num.pages)) {
    print(nBvalue.barplots.summary +
          ggforce::facet_wrap_paginate(~PDBid,
                                       ncol = 2, nrow = 5, page = page) )
  }
  dev.off()
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab