Description Usage Arguments Value Examples
This function will create a barplot from the output of Compare_VertexClasses_sharedEdgeFeatures for a specific shared Edge Feature (e.g., a shared gene).
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | create_edgeFBarplot(
  CompTreatTable,
  edgeF,
  treat1 = "Treatment1",
  treat2 = "Treatment2",
  factorOrder = NULL,
  col1 = "red",
  col2 = "blue",
  EdgeFeatureType = "Edge Feature",
  xlb = "Vertex-Class Pairs",
  ylb = "Number of pairs",
  szaxisTxt = 12,
  szaxisTitle = 12
)
 | 
CompTreatTable | 
 Output of Compare_VertexClasses_sharedEdgeFeatures  | 
edgeF | 
 Edge feature present in output of Compare_VertexClasses_sharedEdgeFeatures  | 
treat1 | 
 Name of treatment one, default Treatment1. It should match the column names of the output of Compare_VertexClasses_sharedEdgeFeatures  | 
treat2 | 
 Name of treatment one, default Treatment2. It should match the column names of the output of Compare_VertexClasses_sharedEdgeFeatures  | 
factorOrder | 
 A list specifying the order of the treatments.  | 
col1 | 
 Color for Treatment 1  | 
col2 | 
 Color for Treatment 2  | 
EdgeFeatureType | 
 Type of Edge Feature (e.g., Gene)  | 
xlb | 
 Name for x-axis  | 
ylb | 
 Name for the y-axis  | 
szaxisTxt | 
 Size axis text  | 
szaxisTitle | 
 Size axis titles  | 
A ggplot object for a barplot. The barplot shows the vertex-class pairs profile of a single shared edge feature between two treatments
1 2 3 4 5 6 7  | data(VertexClassesSharedGenes_HFDvsChow)
create_edgeFBarplot(CompTreatTable = VertexClassesSharedGenes_HFDvsChow,
                    edgeF = "Lilr4b",
                    treat1 = "HFD",
                    treat2 = "Chow",
                    factorOrder = c("HFD","Chow"),
                    EdgeFeatureType = "Gene")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.