Skip to contents

Load METHYL raw data for a tissue from Google Cloud Storage. See MotrpacRatTraining6moData::METHYL_RAW_DATA for more details.

Usage

load_methyl_raw_data(tissue, scratchdir = ".")

Arguments

tissue

character, tissue abbreviation, one of "BAT", "HEART", "HIPPOC", "KIDNEY", "LIVER", "LUNG", "SKM-GN", "WAT-SC"

scratchdir

character, local directory in which to download data from Google Cloud Storage. Current working directory by default.

Value

named list of three items:

counts

data frame of raw counts with features in rows and samples (unmethylated or methylated) in columns

samples

data frame of sample-level metadata, including group, lib.size, and norm.factors

genes

data frame of feature-level gene information, including Chr and Locus

Examples

if (FALSE) { # \dontrun{
# Load raw METHYL data for gastrocnemius 
data = load_methyl_raw_data("SKM-GN", "/tmp")
} # }