# Load example data
file <- system.file("extdata", "ExampleDb.gz", package="alakazam")
df <- readChangeoDb(file)
# Without copy numbers
clones <- countClones(df, groups="SAMPLE")
# With copy numbers and multiple groups
clones <- countClones(df, groups=c("SAMPLE", "ISOTYPE"), copy="DUPCOUNT")Run the code above in your browser using DataLab