Combined per-Patient/Sample_type/Condition sample-and-patient count summary
Source:R/overlap-counters.R
count_samples_patients.RdRuns count_uniqueby_ip() five times (totals across all samples, totals
across all patients, by Patient, by Sample_type, by Condition) and
column-binds the results into one wide summary table — after checking that
every variant produced rows in the same identity-key order (otherwise the
cbind() would silently misalign).
Arguments
- input
A
pep_all-shaped data frame withPatient/Sample_type/Condition/Samplecolumns (the project-specific patient-cohort annotation columns this summary was designed around).- level
Forwarded to
count_uniqueby_ip()("Peptide"or"Protein").