Skip to content

Commit

Permalink
modified the ranking function and added TopDAClonotypes function
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohanne committed Jul 30, 2018
1 parent 1fc43ae commit 3d934ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/RepDaAnalysisFns.R
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@ runDaAnalysis <- function(repSeqObj,clusterby="NT",kmerWidth=4,paired=T,clusterD
#' @param pValueCutoff the cutoff p-value, default is 0.05
#' @return function returns a data frame of the candidate CDR3s that have significant p-value, that is below the pValueCutoff
#'
#' @example TopDAClonotypes(results,enriched=T,pValueCutoff=T) # results is an object holding the result of running runDaAnalysis
#' @example TopDAClonotypes(results,enriched=T,pValueCutoff=0.05) # results is an object holding the result of running runDaAnalysis
#'
#' @export
#'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ results <- runDaAnalysis(repObj,clusterby="NT",kmerWidth=4,paired=T,clusterDaPcu
Significantly differentially enriched CDR3s (with permuted p-values < 0.05), that have shown significant clonal expansion in condition 2, can be accessed from the result using :

```
enriched <- results[[1]][results[[1]]$permutedEnPval < 0.05,]
enrichedCDR3s <- TopDAClonotypes(results,enriched=T,pValueCutoff=0.05)
```

Significantly differentially de-enriched CDR3s (with permuted p-values < 0.05), that have shown significant clonal contraction in condition 2, can be accessed from the result using :

```
de-enriched <- results[[1]][results[[1]]$permutedDeEnPval < 0.05,]
de-enrichedCDR3s <- TopDAClonotypes(results,enriched=F,pValueCutoff=0.05)
```


Expand Down

0 comments on commit 3d934ba

Please sign in to comment.