gdcParseMetadata: Parse metadata

Description Usage Arguments Value Author(s) Examples

View source: R/gdcParseMetadata.R

Description

Parse metadata either by providing the .json file that is downloaded from GDC cart or by parse metadata automatically by providing the projct id and data type

Usage

1
2
gdcParseMetadata(metafile = NULL, project.id, data.type,
  write.meta = FALSE)

Arguments

metafile

metadata file in .json format download from GDC cart. If provided, the metadata will be parsed from this file, otherwise, project and data.type arguments should be provided to retrieve metadata automatically. Default is NULL

project.id

project id in GDC

data.type

one of 'RNAseq' and 'miRNAs'

write.meta

logical, whether to write the metadata to a .json file

Value

A dataframe of metadata containing file_name, sample_id, etc. as well as some basic clinical data

Author(s)

Ruidong Li and Han Qu

Examples

1
2
####### Merge RNA expression data #######
metaMatrix <- gdcParseMetadata(project.id='TARGET-RT', data.type='RNAseq')

Jialab-UCR/GDCRNATools documentation built on Nov. 28, 2020, 11:23 a.m.