R/sex_mislabel_setup.R
sex_mislabel_setup.Rd
set up the QC notebook with the data sets which are used throughout
sex_mislabel_setup(
dds_rds_path,
percent_samples_for_expr_fltr = 0.015,
cpm_count_thres = 3
)
path to a dds object, either gene or transcript counts
this is used to set a minimum number of samples which have more than a certain number of cpm count. ie num_samples = floor(ncol(dds)*percent_samples_for_expr_fltr)
the number of cpm required for a given gene to pass in a given sample. ie expr_fltr = rowSums(cpm(counts(dds)) > cpm_count_thres ) >= num_samples
a list which contains the raw, expression filtered and expression filtered and passing sets