getClinical | R Documentation |
The participant table may contain curated demographic information e.g., sex, age, etc.
getClinical(
columnName,
participants = TRUE,
tablename = .DEFAULT_TABLENAME,
workspace = terraTCGAworkspace(),
namespace = .DEFAULT_NAMESPACE,
verbose = TRUE,
metacols = .PARTICIPANT_METADATA_COLS,
participantIds = NULL
)
columnName |
The name of the column to extract files, see
|
participants |
logical(1) Whether to merge the participant table
from |
tablename |
The Terra data model table from which to extract the clinical data (default: "sample") |
workspace |
character(1) The Terra Data Resources workspace from which
to pull TCGA data (default: see |
namespace |
character(1) The Terra Workspace Namespace that defaults to "broad-firecloud-tcga" and rarely needs to be changed. |
verbose |
logical(1) Whether to output additional information regarding
the workspace and namespace (default: |
metacols |
The set of columns that comprise of the metadata columns.
See the |
participantIds |
character() TCGA participant identifiers usually in the
form of "TCGA-AB-1234". By default, all available participant identifiers
will be used. (default: |
A DataFrame
with clinical information from TCGA. The metadata i.e.,
metadata(object)
includes the columnName
used to obtain the data.
if (
AnVILGCP::gcloud_exists() &&
identical(AnVILBase::avplatform_namespace(), "AnVILGCP") &&
nzchar(AnVILGCP::avworkspace_name())
)
getClinical(
workspace = "TCGA_ACC_OpenAccess_V1-0_DATA",
participantIds = c("TCGA-OR-A5J1", "TCGA-OR-A5J2",
"TCGA-OR-A5J3", "TCGA-OR-A5J4")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.