Learn R Programming

CINOEDV (version 2.0)

CheckVerticeType: Test Vertice Type

Description

This function check a vertice whether belongs to a real vertice or a virtual one.

Usage

CheckVerticeType(Vertice)

Arguments

Vertice
character. A vertice in the network, namely, the graph.

Value

Whether: logical. Whether the checked vertice belongs to a real vertice or a virtual one.

References

None

Examples

Run this code
Vertice <- "rs1366208"
Whether <- CheckVerticeType(Vertice)
Whether <- Whether$Whether
Vertice <- "rs2801008:rs4763023"
Whether <- CheckVerticeType(Vertice)
Whether <- Whether$Whether

Run the code above in your browser using DataLab