View source: R/view-manipulators.R
rename_view | R Documentation |
Rename view in a view composition
rename_view(current.views, old.name, new.name, new.abbrev = new.name)
current.views |
the current view composition. |
old.name |
old name of the view. |
new.name |
new name of the view. |
new.abbrev |
new abbreviated name. |
A mistyR view composition with a renamed view.
Other view manipulation functions:
filter_views()
,
select_markers()
view1 <- data.frame(marker1 = rnorm(100, 10, 2), marker2 = rnorm(100, 15, 3))
view2 <- data.frame(marker1 = rnorm(100, 10, 5), marker2 = rnorm(100, 15, 5))
misty.views <- create_initial_view(view1) %>%
add_views(create_view("originalname", view2, "on"))
str(misty.views)
# rename and preview
misty.views %>%
rename_view("originalname", "renamed", "rn") %>%
str()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.