Download raw counts from Google Cloud Storage and return the filtered and quantile-normalized data. Alternatively, the user can provide a numeric data frame of raw ATAC-seq counts.
Usage
atac_normalize_counts(
tissue,
scratchdir = ".",
n_samples = 4,
min_count = 10,
counts = NULL
)
Arguments
- tissue
character, tissue abbreviation, one of MotrpacRatTraining6moData::TISSUE_ABBREV
- scratchdir
character, local directory in which to download data from Google Cloud Storage. Current working directory by default.
- n_samples
integer, retain features with at least
min_count
counts in at leastn_samples
samples- min_count
integer, retain features with at least
min_count
counts in at leastn_samples
samples- counts
optional user-supplied numeric data frame or matrix where row names are feature IDs and column names are sample identifiers