parseTcgaSampleInfo: Parse sample information from TCGA sample identifiers

Description Usage Arguments Value See Also Examples

Description

Parse sample information from TCGA sample identifiers

Usage

1
2
3
4
5
6
parseTCGAsampleTypes(
  samples,
  filename = system.file("extdata", "TCGAsampleType.RDS", package = "psichomics")
)

parseTCGAsampleInfo(samples, match = NULL)

Arguments

samples

Character: sample identifiers

filename

Character: path to RDS file containing corresponding types

match

Integer: match between samples and subjects (NULL by default; performs the match)

Value

Metadata associated with each TCGA sample

See Also

Other functions associated with TCGA data retrieval: getDownloadsFolder(), getTCGAdataTypes(), isFirebrowseUp(), loadTCGAdata()

Examples

1
2
3
4
5
6
parseTCGAsampleTypes(c("TCGA-01A-Tumour", "TCGA-10B-Normal"))
samples <- c("TCGA-3C-AAAU-01A-11R-A41B-07", "TCGA-3C-AALI-01A-11R-A41B-07",
             "TCGA-3C-AALJ-01A-31R-A41B-07", "TCGA-3C-AALK-01A-11R-A41B-07", 
             "TCGA-4H-AAAK-01A-12R-A41B-07", "TCGA-5L-AAT0-01A-12R-A41B-07")

parseTCGAsampleInfo(samples)

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.