rnaglib.representations
- class rnaglib.representations.Representation[source]
Callable object that accepts a raw RNA networkx object along with features and target vector representations and returns a representation of it (e.g. graph, voxel, point cloud)
- property name
Just return the name of the representation
- Returns:
A string
- class rnaglib.representations.GraphRepresentation(clean_edges=True, framework='nx', edge_map={'B35': 19, 'B53': 0, 'cHH': 1, 'cHS': 2, 'cHW': 3, 'cSH': 4, 'cSS': 5, 'cSW': 6, 'cWH': 7, 'cWS': 8, 'cWW': 9, 'tHH': 10, 'tHS': 11, 'tHW': 12, 'tSH': 13, 'tSS': 14, 'tSW': 15, 'tWH': 16, 'tWS': 17, 'tWW': 18}, etype_key='LW', **kwargs)[source]
Converts RNA into a graph
- property name
Just return the name of the representation
- Returns:
A string
- class rnaglib.representations.VoxelRepresentation(spacing=2, padding=3, sigma=1.0, **kwargs)[source]
Converts RNA into a voxel based representation
- property name
Just return the name of the representation
- Returns:
A string
- class rnaglib.representations.PointCloudRepresentation(hstack=True, sorted_nodes=True, **kwargs)[source]
Converts RNA into a point cloud based representation
- property name
Just return the name of the representation
- Returns:
A string