Learn R Programming

vanddraabe (version 1.1.1)

BvalueBarplot.summ: 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

BvalueBarplot.summ(data)

Arguments

data

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

See Also

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

Examples

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

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

  pdf(file="multiple_pages.pdf", height=11, width=8.5)
  for (page in seq_len(num.pages)) {
    print(Bvalue.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