 Home
 CRAN
 brainGraph: Graph Theory Analysis of Brain MRI Data
 sim.rand.graph.clust: Simulate a random graph with given degree sequence and...
Simulate a random graph with given degree sequence and clustering.
Description
This function will simulate a random graph with a given degree sequence and clustering coefficient. This function calls choose.edges to decide which edges will be rewired.
Usage
1  sim.rand.graph.clust(graph, cl = graph$transitivity, max.iters = 100)

Arguments
graph 
The graph from which null graphs are simulated 
cl 
The clustering measure (default: transitivity) 
max.iters 
The maximum number of iterations to perform (default: 100) 
Value
An igraph
graph object
See Also
choose.edges, rewire,
transitivity, keeping_degseq
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
 aal116: Coordinates for data from the AAl116 atlas
 aal2.120: Coordinates for data from the AAL2 atlas
 aal2.94: Coordinates for data from the AAL2 atlas
 aal90: Coordinates for data from the AAl90 atlas
 analysis_random_graphs: Perform an analysis with random graphs for brain MRI data
 aop: "Addonepatient" approach to estimate individual network...
 assign_lobes: Give vertices in a graph a _lobe_ attribute.
 auc_diff: Difference in the areaunderthecurve of two vectors
 boot_global: Bootstrapping for global graph measures
 brainGraph_init: Initialize variables for further use in brainGraph
 brainsuite: Coordinates for data from BrainSuite atlas
 centr_lev: Calculate a vertex's leverage centrality
 check.resid: Check model residuals for each brain region
 choose.edges: Select edges for rewiring.
 color.edges: Color graph edges
 color.vertices: Color graph vertices
 cor.diff.test: Calculate the pvalue for differences in correlation...
 corr.matrix: Calculate correlation matrix and threshold
 count_homologous: Count number of edges between homologous regions of a brain...
 count_interlobar: Count number of interlobar connections from a given major...
 destrieux: Coordinates for data from the Destrieux atlas
 destrieux.scgm: Coordinates for data from the Destrieux atlas
 dk: Coordinates for data from the DesikanKilliany atlas
 dk.scgm: Coordinates for data from the DesikanKilliany atlas
 dkt: Coordinates for data from the DesikanKillianyTourville...
 dkt.scgm: Coordinates for data from the DesikanKillianyTourville...
 dosenbach160: Coordinates for data from the Dosenbach160 atlas
 dti_create_mats: Create connection matrices for tractography analysis
 edge_asymmetry: Calculate an asymmetry index based on edge counts
 edge_spatial_dist: Calculate Euclidean distance of edges
 get.resid: Linear model residuals across brain regions
 graph_attr_dt: Create a data table with graph global measures
 graph.contract.brain: Contract graph vertices based on brain lobe and hemisphere
 graph.efficiency: Calculate graph global, local, or nodal efficiency
 graph_neighborhood_multiple: Take the union of multiple neighborhood graphs
 hoa112: Coordinates for data from HarvardOxford atlas
 loo: "Leaveoneout" approach to estimate individual network...
 lpba40: Coordinates for data from the LONI probabilistic brain atlas
 make_empty_brainGraph: Create an empty graph with attributes for brainGraph
 NBS: Networkbased statistic for brain MRI data
 part.coeff: Calculate vertex participation coefficient
 permute.group: Permutation test for group difference of graph measures
 permute.group.auc: Permutation test for group difference of graph measures
 plot_boot: Plot global graph measures with shaded regions calculated...
 plot_brainGraph: Plot a brain graph with a specific spatial layout
 plot_brainGraph_gui: GUI for plotting graphs overlaid on an MNI152 image or in a...
 plot_brainGraph_list: Write PNG files for a list of graphs
 plot_brainGraph_mni: Draw an axial or sagittal slice of the MNI152 T1 image
 plot_corr_mat: Plot a correlation matrix
 plot_global: Plot global graph measures across densities
 plot_group_means: Plot group distributions of volumetric measures for a given...
 plot_perm_diffs: Calculate permutation pvalues and plot group differences
 plot_rich_norm: Plot normalized rich club coefficients against degree...
 plot_vertex_measures: Plot vertexlevel graph measures at a single density or...
 rich.club.attrs: Assign graph attributes based on richclub analysis
 rich.club.coeff: Calculate the rich club of a graph
 rich.club.norm: Calculate the normalized rich club coefficient
 rich.core: Calculate the rich core of a graph
 robustness: Analysis of network robustness
 rotation: Apply a rotation matrix to a set of points
 set.brainGraph.attributes: Set a number of graph and vertex attributes useful in MRI...
 sim.rand.graph.clust: Simulate a random graph with given degree sequence and...
 sim.rand.graph.par: Simulate N random graphs w/ same clustering and degree...
 small.world: Calculate graph smallworldness
 SPM: Perform betweengroup tests at each vertex for a given vertex...
 update_brainGraph_gui: Function to dynamically plot a graph
 vec.transform: Transform a vector to have a different range
 vertex_attr_dt: Create a data table with graph vertex measures
 vertex_spatial_dist: Calculate average Euclidean distance for each vertex
 vulnerability: Calculate graph vulnerability
 within_module_deg_z_score: Calculate vertex withinmodule degree zscore
 write.brainnet: Write files to be used for visualization with BrainNet Viewer