Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
colbyford authored Jul 8, 2024
1 parent 9dc822e commit 7a482a2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ geodata <- readr::read_csv("../../data/parsimonious/chikv/chikv_geo.csv", col_na


## Check to See Which States are available by which to generate the network
listStates(treedata,
metadata,
treeType = "parsimonious")
list_states(treedata,
metadata,
treeType = "parsimonious")


## Make the Transmission Network
graph <- makeTransNet(treedata,
metadata,
columnSelection = "Country",
centralityMetric = 6,
treeType = "parsimonious")
graph <- make_transnet(treedata,
metadata,
columnSelection = "Country",
centralityMetric = 6,
treeType = "parsimonious")

print(graph)

Expand Down Expand Up @@ -66,9 +66,9 @@ library(strainhub)
treedata <- read.csv("../data/dataframe/dataframe.csv", stringsAsFactors = FALSE)

## Make the Transmission Network
graph <- makeTransNet(treedata,
centralityMetric = 6,
treeType = "dataframe")
graph <- make_transnet(treedata,
centralityMetric = 6,
treeType = "dataframe")
```

## Customizing your Transmission Networks
Expand Down

0 comments on commit 7a482a2

Please sign in to comment.