Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cjb873 committed Dec 8, 2023
1 parent 980eb3d commit 14a57e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
16 changes: 2 additions & 14 deletions man/BINSEG.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,8 @@ BINSEG(K, data.vec)
}

\examples{
# Pull in data table
library(data.table)

# Get the data
data(neuroblastoma, package="neuroblastoma")

# Store as a data table
nb.dt <- data.table(neuroblastoma$profiles)

# Select a single profile
one.profile <- nb.dt[profile.id == 4 & chromosome == "2"]

# Select one series of logratio values
data.vec <- one.profile$logratio
# Select data
data.vec <- as.matrix(iris[3])[,1]

# Pull in the package
require("BeckRPackage")
Expand Down
16 changes: 2 additions & 14 deletions man/dynprog_interface.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,8 @@ dynprog_interface(K, data_vec)
}

\examples{
# Pull in data table
library(data.table)

# Get the data
data(neuroblastoma, package="neuroblastoma")

# Store as a data table
nb.dt <- data.table(neuroblastoma$profiles)

# Select a single profile
one.profile <- nb.dt[profile.id == 4 & chromosome == "2"]

# Select one series of logratio values
data.vec <- one.profile$logratio
# Select data
data.vec <- as.matrix(iris[3])[,1]

# Pull in the package
require("BeckRPackage")
Expand Down

0 comments on commit 14a57e0

Please sign in to comment.