Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function Documentation is Brief #12

Open
DarioS opened this issue Mar 9, 2023 · 0 comments
Open

Function Documentation is Brief #12

DarioS opened this issue Mar 9, 2023 · 0 comments

Comments

@DarioS
Copy link
Member

DarioS commented Mar 9, 2023

Typically between Arguments and Value sections in Rd files, there is a Details section (c.f. ?edgeR::estimateGLMRobustDisp). This could be helpful to explain what the options mean. For example,

selectFeatures: A vector indicates the gene selection method, set as "limma" by default. This should be one or more of "limma", "DV", "DD", "chisq", "BI" and "Cepo".

DV and DD could refer to a variety of approaches, such as Bartlett's test, Levene's test, Kolmogorov-Smirnov test, Kullback-Leibler divergence, etc. Which one is used for each of these? Also, what is BI an acronym for? I suppose that it is bimodality index but the journal article has used BD. Similarly,

exprsMat_train: A matrix of log-transformed expression matrix of reference dataset.

Is the bioinformatics convention of features in rows and samples in columns or statistics convention of features in columns and samples in rows expected? For example mixOmics and ClassifyR follow statistics convention, but limma and edgeR follow bioinformatics convention. The data set used in Examples section allows the user to infer bioinformatics convention, but it could be made explicit.

> exprsMat_xin_subset[1:3, 1:3]
3 x 3 sparse Matrix of class "dgCMatrix"
        SRR3541305 SRR3541306 SRR3541307
CIZ1      1.479874   .          .       
HCFC1R1   .          .          4.180656
MAGI2     5.864330   3.665412   3.634933
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant