predictTm: Title Get the similarity scores of every sample with every...

Description Usage Arguments Value Examples

Description

Title Get the similarity scores of every sample with every tumor site

Usage

1
2
predictTm(trTmMut, predictRef = mSigsitedb, contexts.needed = FALSE,
  tri.counts.method = "default")

Arguments

trTmMut

Either a data frame or location of input text file, where rows are samples, columns are trinucleotide contexts. Use data(sample.mut.trans) to see the example data.

predictRef

Location of the mutation file that is to be converted or name of data frame in environment. "tmMutRef" is the standard signature value for one site. Default value is "mSigsitedb" that convert from "mSignatureDB" database. USe data("mSigsitedb") to see the example dasta.

contexts.needed

FALSE if tumor.file is a context file, TRUE if it is only mutation counts.

tri.counts.method

Set to either:

  • 'default' – no further normalization

  • 'exome' – normalized by number of times each trinucleotide context is observed in the exome

  • 'genome' – normalized by number of times each trinucleotide context is observed in the genome

  • 'exome2genome' – multiplied by a ratio of that trinucleotide's occurence in the genome to the trinucleotide's occurence in the exome

  • 'genome2exome' – multiplied by a ratio of that trinucleotide's occurence in the exome to the trinucleotide's occurence in the genome

  • data frame containing user defined scaling factor – count data for each trinucleotide context is multiplied by the corresponding value given in the data frame

Value

A dataframe contain similarity scores of every sample with every tumor site

Examples

1
testPredict = predictTm(trTmMut = sample.mut.trans, contexts.needed = TRUE)

13thirteen-w/Rpackage_cpSig documentation built on May 8, 2019, 1:42 p.m.