inner_join_cdisc | R Documentation |
This is a useful function when trying to join genetic with CDISC data sets.
inner_join_cdisc(
gene_data,
cdisc_data,
patient_key = "USUBJID",
additional_keys = character()
)
gene_data |
( |
cdisc_data |
( |
patient_key |
( |
additional_keys |
( |
A data.frame
which contains columns from both data sets merged by the keys.
Columns which are contained in both data sets but are not specified as keys are taken
from gene_data
and not from cdisc_data
.
gene_data <- col_data_with_genes(hermes_data, "counts", gene_spec("GeneID:1820"))
cdisc_data <- data.frame(
USUBJID = head(gene_data$USUBJID, 10),
extra = 1:10
)
result <- inner_join_cdisc(gene_data, cdisc_data)
result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.