parseSampleGroups {psichomics} | R Documentation |
Return the type of a given sample
parseSampleGroups(sample, filename = system.file("extdata", "TCGAsampleType.RDS", package = "psichomics"))
sample |
Character: ID of the sample |
filename |
Character: path to RDS file containing corresponding type |
Types of the TCGA samples
parseSampleGroups(c("TCGA-01A-Tumour", "TCGA-10B-Normal"))