View source: R/ProjectMethods.R
addSampleColData | R Documentation |
This function adds new data to sampleColData in an ArchRProject.
addSampleColData(
ArchRProj = NULL,
data = NULL,
name = NULL,
samples = NULL,
force = FALSE
)
ArchRProj |
An |
data |
A vector containing the data to be added to |
name |
The column header name to be used for this new data in |
samples |
The names of the samples corresponding to |
force |
A boolean value that indicates whether or not to overwrite data in a given column when the value passed to |
# Get Test ArchR Project
proj <- getTestProject()
# Add Sample Column Data
addSampleColData(proj, data = 1, name = "Test", samples = "PBSmall")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.