10000 Bad error handling when no diff results reported · Issue #33 · YuanTian1991/ChAMP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bad error handling when no diff results reported #33

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

Open
ShixiangWang opened this issue Feb 3, 2023 · 0 comments
Open

Bad error handling when no diff results reported #33

ShixiangWang opened this issue Feb 3, 2023 · 0 comments

Comments

@ShixiangWang
Copy link
>   myDMP = champ.DMP(myNorm, pheno = my$pd$Sample_Group, adjPVal = 0.8)  # Error
[===========================]
[<<<<< ChAMP.DMP START >>>>>]
-----------------------------
!!! Important !!! New Modification has been made on champ.DMP(): 

    (1): In this version champ.DMP() if your pheno parameter contains more than two groups of phenotypes, champ.DMP() would do pairewise differential methylated analysis between each pair of them. But you can also specify compare.group to only do comparasion between any two of them.

    (2): champ.DMP() now support numeric as pheno, and will do linear regression on them. So covariates like age could be inputted in this function. You need to make sure your inputted "pheno" parameter is "numeric" type.

--------------------------------

[ Section 1:  Check Input Pheno Start ]

  You pheno is character type.
    Your pheno information contains following groups. >>
    <circular>:33 samples.
    <noncircular>:46 samples.
    [The power of statistics analysis on groups contain very few samples may not strong.]
    pheno contains only 2 phenotypes
    compare.group parameter is NULL, two pheno types will be added into Compare List.
    circular_to_noncircular compare group : circular, noncircular

[ Section 1:  Check Input Pheno Done ]


[ Section 2:  Find Differential Methylated CpGs Start ]

  -----------------------------
  Start to Compare : circular, noncircular
  Contrast Matrix
              Contrasts
Levels         pnoncircular-pcircular
  pcircular                        -1
  pnoncircular                      1
  You have found 1 significant MVPs with a BH adjusted P-value below 0.8.
  Calculate DMP for circular and noncircular done.

[ Section 2:  Find Numeric Vector Related CpGs Done ]


[ Section 3:  Match Annotation Start ]

Error in rowMeans(beta[com.idx, which(pheno == Compare[[i]][1])]) : 
  'x' must be an array of at least two dimensions
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
0