dCombs {dStruct} | R Documentation |
Given the reactivity profiles for a transcript from multiple samples, and a list of sample identifiers, this function computes the dissimilarity of reactivity scores between the specified samples. These are returned as a sequence of nucleotide-wise d scores.
dCombs(rdf, combs)
rdf |
Data.frame of reactivities for each sample. |
combs |
Data.frame with each column containing groupings of samples. |
Nucleotide-wise d scores.
Krishna Choudhary
Choudhary, K., Lai, Y. H., Tran, E. J., & Aviran, S. (2019). dStruct: identifying differentially reactive regions from RNA structurome profiling data. Genome biology, 20(1), 1-26.
#Example of a data frame with reactivities. reacs <- data.frame(matrix(runif(30, 0, 10), 10, 3)) #The columns of data frame with must indicate sample grouping and id. colnames(reacs) <- c("A1", "A2", "B1") #Get nucleotide-wise dissimilarity scores for a set of samples. dCombs(rdf = reacs, combs = data.frame(c("A1", "B1")))