View source: R/view-composers.R
create_initial_view | R Documentation |
This function is the first one to be called when building a mistyR workflow, starting from view composition. The initial view describes the intraview of the sample.
create_initial_view(data, unique.id = NULL)
data |
A |
unique.id |
A |
An initial mistyR view composition containing an intraview list
item named described with abbreviation "intra" and data as provided
in data
and a misty.uniqueid list item containing the
provided or automatically calculated unique.id
. A cache folder for
the sample will be automatically created in the working directory as a
subfolder of ‘.misty.temp/’ with the same name as unique.id
.
Other view composition functions:
add_juxtaview()
,
add_paraview()
,
add_views()
,
create_view()
,
remove_views()
# Create an intrinsic view from the first sample in the dataset synthetic.
library(dplyr)
# get the expression data
data("synthetic")
expr <- synthetic[[1]] %>% select(-c(row, col, type))
create_initial_view(expr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.