subset.Rd
Subset the BarcodeQcSet
# S4 method for BarcodeQcSet
subset(x, i, drop = TRUE)
# S4 method for BarcodeQcSet,ANY,ANY,ANY
[(x, i, drop = TRUE)
A BarcodeQcSet object
A integer vector or a character vector, specifying the selected samples.
a logical value, if TRUE, when only one sample is selected, the output will be a BarcodeQc object.
A BarcodeQcSet or BarcodeQc
example_data <- system.file("extdata", "mef_test_data", package = "CellBarcode")
fq_files <- dir(example_data, "fastq.gz", full=TRUE)
qc_noFilter <- bc_seq_qc(fq_files)
qc_noFilter[1:3]
#> The sequence QC set, use `[]` to select sample:
#> 5290_10_BCM_195_mef_mixb_GTCATTG_S11_R1_001.fastq.gz
#> 5290_1_BCM_50000_mef_mixa_GTTCTCC_S2_R1_001.fastq.gz
#> 5290_2_BCM_50000_mef_mixb_GATGTGT_S5_R1_001.fastq.gz