PlotsMouseProtCorr: PlotsMouseProtCorr

Description Usage Arguments Details Value See Also Examples

View source: R/PlotsMouseProtCorr.R

Description

Function to visualize correlations of protein intensities and MHCI peptide counts across tissues in mouse

Usage

1
2
3
4
5
6
7
PlotsMouseProtCorr(
  Mouse_ProtCorrelations,
  pValue_Threshold = 0.01,
  SigGene_names = NULL,
  path_filename = NA,
  return_list_of_plots = TRUE
)

Arguments

Mouse_ProtCorrelations

List which is output object from the function MakeCorrMouse

pValue_Threshold

Max pValue below which correlations are considered signifcant, Default: 0.01

SigGene_names

List of genes of interest, Default: NULL, Default: NULL

path_filename

path and filename where a pdf file containing all plots is to be written to (optional), Default: NA

return_list_of_plots

Logical, can return a list with plots for each gene, Default: TRUE

Details

ggplot2 plots can directly be accessed from the list of plots

Value

list of plots for each gene as ggplot2 object

See Also

ggplot,aes,geom_smooth,labs,scale_colour_brewer,theme,margin stat_poly_eq geom_label_repel

Examples

1
2
3
4
5
## Not run: 
plots_m<-PlotsMouseProtCorr(corrs_m,SigGene_names=c('Erap1','Psmb1'),
allSigprots=F,path_filename='~/Erap1andPsmb1.pdf')

## End(Not run)

CaronLab/MHCIatlas documentation built on March 10, 2021, 12:38 a.m.