Description Usage Arguments Value Examples
View source: R/partial_signature.R
Remove the contribution of a SuperSig from the data and return the data.
1  | partial_signature(data, object)
 | 
data | 
 a data frame of mutations containing columns for
  | 
object | 
 an object of class   | 
predict_signature returns the original data frame with 
the contribution of a supervised signature removed
1 2 3 4 5  | head(example_dt) # use example data from package
input_dt <- make_matrix(example_dt) # convert to correct format
input_dt$IndVar <- c(1, 1, 1, 0, 0) # add IndVar column
supersig <- get_signature(data = input_dt, factor = "Age") # get SuperSig
partial_signature(data = input_dt, object = supersig)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.